Wednesday Apr 16, 2014

Merging rcouch

rcouch is a variant of CouchDB that is derived from the main Apache CouchDB code base. One way to look at it is as a “future port” of CouchDB, that is for two reasons:

  1. The internals are greatly improved. In simple terms, if CouchDB would be started to day, it would look a lot like rcouch.
  2. It comes with a number of nice new features.

So whether you are a CouchDB user or a CouchDB Erlang developer, rcouch is good news for you!

Since CouchDB has been around for a while, the internal codebase is a little crufty. We are constantly working on improving that, but one of the larger efforts have been done within the rcouch project by Apache CouchDB committer Benoit Chesneau.

At the same time, Benoit added a number of nice little features that benefit CouchDB users, just to name a few:

  • _changes for views.
  • Replication from views.
  • Write-only “Drop-Box” databases.
  • Request validation on-read.
  • _db_changes (actually, we nicked that one for Apache CouchDB 1.4 already :).

For more information, see the rcouch website.

Benoit has generously donated the rcouch project back to Apache CouchDB and has worked on merging the rcouch and the CouchDB codebases. Now it is time to review the merged code and get it into Apache CouchDB proper and put it into a new release.

With that, we need your help.

How you can help, you ask? Easy!

If you are a CouchDB user, and are not afraid to build CouchDB yourself, give the rcouch merge branch a spin:

git clone
cd couchdb
git checkout -b 1994-merge-rcouch origin/1994-merge-rcouch

# Read the DEVELOPERS file to install all dependencies

# test regular build:

# test build with static icu library
make icu=static

# test build with shared libraries
make libs=shared

# run test suite
make check

# make a release
make rel

# run:
./rel/apache-couchdb/bin/couchdb start

# now CouchDB is running at, as usual, you just won’t see any output.

If you are an Erlang developer, we could use your help with code reviews. Any small chunks will help!

Please see the associated JIRA ticket for more information.

Thanks so much!

FaQ: how does this relate to BigCouch?

It doesn’t really, the BigCouch merge is ongoing and we will announce updates and requests for review when the time is right. Well, actually, if we can convince you to help with the review of the rcouch merge, we can put even more resources on the BigCouch merge :)


Hi, I had a go at getting this running on Ubuntu but have hit a reltool issue during "make rel". make, make icu=static, and make libs=shared all work OK, and all but one of the tests pass (in /etap/042-work-queue.t) However make rel fails with the following error. Any ideas? ==> rel (generate) ERROR: generate failed while processing /home/rcouch/git/couchdb/rel: {'EXIT',{{badmatch,{error,"observer: Missing application directory."}}, [{rebar_reltool,generate,2, [{file,"src/rebar_reltool.erl"},{line,53}]},

Posted by Chris Miller on July 08, 2014 at 12:55 PM UTC #

Is this something that is still being considered? Love the extra features in rcouch.

Posted by Michael Ford on January 28, 2015 at 04:04 PM UTC #

root checker apk

Posted by root checker apk on January 26, 2016 at 11:28 AM UTC #

simply living tips for all

Posted by simply living tips on January 26, 2016 at 11:29 AM UTC #

mehndi design images for hand

Posted by mehndi design images on January 26, 2016 at 11:30 AM UTC #

sherwani designs for men

Posted by sherwani designs on January 26, 2016 at 11:30 AM UTC #

sherwani designs

Posted by sherwani designs on January 26, 2016 at 12:01 PM UTC #

root rxplorer pro apk is the best application to download the files.

Posted by saimallikarjuna on August 14, 2018 at 06:24 AM UTC #

Council of Higher Secondary Education Manipur (COHSEM) is planning to release the Manipur Board 12th Time Table 2019 very soon. Lakhs of candidates who are going to compete in the 12th or HSE examinations are eager to know the exam dates to start up their preparation by making their study plan.

Posted by Manipur Board 12th Time Table 2019 on November 23, 2018 at 10:10 AM UTC #

Love the extra features in rcouch.

Posted by digiyan on December 17, 2018 at 03:04 AM UTC #

Post a Comment:
  • HTML Syntax: NOT allowed



Hot Blogs (today's hits)

Tag Cloud