question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Cloudant and CouchDB 2.* compatibility

See original GitHub issue

In theory, the current version of hoodie should be compatible with Cloudant.

However Cloudant - a shared service - doesn’t allow access to the /_config endpoint. So it seems three functions are affected by this:

It is possible that there is more than this, however this is a good starting point.

After briefly discussing with @gr2m, our best option may be to check the CouchDB vendor before setting/checking the config here: https://github.com/hoodiehq/hoodie-server/blob/master/lib/config/db/couchdb.js

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:1
  • Comments:6 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
gr2mcommented, Jan 5, 2017

@hoodie/server is compatible with CouchDB 2.0 and Cloudant via https://github.com/hoodiehq/hoodie-server/releases/tag/v22.0.0. hoodie itself is compatible via https://github.com/hoodiehq/hoodie/releases/tag/v26.0.0 🎉 thanks all!

0reactions
benwhite-deltascommented, Jan 4, 2017

I was trying to run hoodie with CouchDB 2.0.0 - and the server fails to connect to couchdb, apparently due to a change in the API for setting/retrieving couchdb configuration

The /_config endpoint has moved to /_node/<NODENAME>/_config due to the addition of clustering capability, so a prior request to /_membership would be required to find the appropriate node to update.

As @gr2m’s changes would seem to be be removing the necessity of visiting the _config endpoint at all, this will restore compatibility with CouchDB 2.*. The issue name has been updated to include this.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Comparing Apache CouchDB and IBM Cloudant
Apache CouchDB and IBM Cloudant are nearly fully API compatible, which means they can serve as drop-in replacements for each other in your...
Read more >
Cloudant and CouchDB Replication with couchreplicate
If you like using command-line tools, then there more CouchDB- and Cloudant-compatible tools from the same stable: couchimport — import your CSV ...
Read more >
CouchDB vs IBM Cloudant | TrustRadius
For us, performance and scalability is the key, and Cloudant DB backed by CouchDB is scalable and performant. IBM Cloudant dB is very...
Read more >
IBM Cloudant Reviews, Ratings & Features 2022 - Gartner
The API and replication protocols of IBM Cloudant are compatible with Apache CouchDB for hybrid and multi-cloud systems, and it elastically scales our ......
Read more >
Cloudant/CouchDB Spring Boot Starter - GitHub
Since Cloudant API is compatible with Apache CouchDB's API, this client can be used with a regular CouchDB instance. This is useful for...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found