Release Candidates

This is the fifth in a series of blog posts introducing the Apache CouchDB 2.0 release. Read parts one, twothree, and four in the series. 

Today I’d like to talk to you about the CouchDB 2.0 Release Candidates (RCs). On a regular schedule, the CouchDB Project Management Committee (PMC) releases RCs. These releases represent the completion of years of work towards CouchDB 2.0, and deserve your full attention. Very shortly, the RC cycle will be done – and your opportunity to report any last-minute problems you encounter will close. Please help us release the best possible CouchDB 2.0 we can by testing these release candidates thoroughly.

IMPORTANT

To our valued CouchDB application and library developers: please, please run your software against each of the options below. We hope that there are minimal changes necessary to your application, but if necessary fix any issues in your software so that it is ready to go with CouchDB 2.0.

If you encounter any issues that break your application irrevocably, please report them to us. You can do so through our JIRA bug tracker, or if you have questions, contact us at the user mailing list or via text chat.

Testing an RC yourself

To try out an RC, you can install it as a single node (a la CouchDB 1.x), a 3-node development cluster, or in an n-node configuration. First, download and unpacking the relevant apache-couchdb-2.0.0-RC#.tar.gz package, You’ll then need to compile the source code (UNIX and OSX) by following the instructions in the INSTALL.UNIX.md file. If you have all of the prerequisites installed, this is as simple as:

$ ./configure
$ make release

On Windows, simply run the installer and follow the instructions. Be sure to install to a path with no spaces, such as C:\CouchDB.

1-node configuration

After building CouchDB, run rel/couchdb/bin/couchdb (or ensure the service is running on Microsoft Windows). This will start up a 1-node CouchDB instance that logs to stderr. You can then access the brand new Fauxton web interface at http://localhost:5984/_utils/index.html.

You will immediately want to create the _users database. Click on the Create Database button at the top-left and enter _users as the database name.

Finally, verify your installation by clicking on the Verify link on the left hand side of the screen, then click the green Verify Installation button. All items should result in a checkbox. If you encounter any failures, please report them (see bottom of this post).

3-node configuration

Each CouchDB RC ships with a script that runs a 3-node development cluster, optionally with an haproxy load balancing front end. To run this script, change to the RC directory and run:

$ dev/run -n 3 --with-admin-party-please [--with-haproxy --haproxy=/path/to/haproxy]

The script will start 3 nodes, one each at ports 15984, 25984 and 35984. If you add the --with-haproxy option, the haproxy load balancer will run at port 5984, load balancing requests across all 3 nodes.

Proceed to Fauxton with your web browser, at http://localhost:(1)5984/_utils/index.html and validate your install as with the 1-node install. There is no need to create the _users database with this script.

n-node configuration

CouchDB 2.0 can also be configured with an arbitrary number of nodes. You can use the dev/run script with the -n n option to launch any number of nodes. Alternately, you can install each node on a separate machine and configure the cluster yourself using the _cluster_setup endpoint. Though this is out of scope for this blog post, you can learn more by reading the source of the dev/run script and searching for the cluster_setup, cluster_setup_with_admin_party, enable_cluster, add_node and finish_cluster functions.

 

Joan Touzet is a committer and PMC member for Apache CouchDB, as well as the point of contact for the CouchDB Code of Conduct


You can download the latest release candidate from http://couchdb.apache.org/release-candidate/2.0/. Files with -RC in their name a special release candidate tags, and the files with the git hash in their name are builds off of every commit to CouchDB master.

We are inviting the community to thoroughly test their applications with CouchDB 2.0 release candidates. See the testing and setup instructions for more details.

CouchDB Weekly News, August 4, 2016

Releases

Major Discussions

[PROPOSAL] CouchDB 2.0 log to ./var/log/couchdb.log by default (see thread)

Joan Touzet opened a PR to correct 2.0 logging only to stderr, but is requesting feedback from stakeholders.

2.0 & Windows: status update (see thread)

Joan provides an update on status of the CouchDB 2.0 port to Microsoft Windows.

Releases in the CouchDB Universe

PouchDB

Opinions and other News in the CouchDB Universe

… and in the PouchDB Universe

CouchDB Use Cases, Questions and Answers

Stack Overflow:

no public answer yet:

PouchDB Use Cases, Questions and Answers

Use Case:

  • hubot-ibmcloud-cognitive-lib: Provides helper functions for configuring, storing, and processing information related to NLS processing of a statement.

Stack Overflow:

no public answer yet:

For more new questions and answers about CouchDB, see these search results and about PouchDB, see these.

Get involved!

If you want to get into working on CouchDB:

  • We have an infinite number of open contributor positions on CouchDB. Submit a pull request and join the project!
  • Do you want to help us with the work on the new CouchDB website? Get in touch on our new website mailing list and join the website team! – www@couchdb.apache.org
  • The CouchDB advocate marketing programme is just getting started. Join us in CouchDB’s Advocate Hub!
  • CouchDB has a new wiki. Help us move content from the old to the new one!
  • Can you help with Web Design, Development or UX for our Admin Console? No Erlang skills required! – Get in touch with us.
  • Do you want to help moving the CouchDB docs translation forward? We’d love to have you in our L10n team! See our current status and languages we’d like to provide CouchDB docs in on this page. If you’d like to help, don’t hesitate to contact the L10n mailing list on l10n@couchdb.apache.org or ping Andy Wenk (awenkhh on IRC).

We’d be happy to welcome you on board!

Events

Job opportunities for people with CouchDB skills

Time to relax!

  • “His Pokémon narration feels as if we’re listening to him narrate animals in nature, only now it’s all animated. The effect is both delightful and enticing, making the game play feel like a hunt through the wild of whatever city you’re playing in.” – David Attenborough’s ‘Pokémon Go’ Narration Is So Soothing
  • “Vacations are times to kick back and relax, but getaways can also be a source of friction among families, friends or couples, as back-seat driving or paying restaurant bills cause tempers to fray. Here are a few tips from Sonia Prades, a psychologist specializing in family relationships, on how to ensure a stress-free summer break.” – Stress-free summer: How to vacation with friends
  • “…stress can really do a number on your body. Too much of it can cause headaches, stomachaches, muscle tension, and fatigue, according to the Mayo Clinic. It can also increase anxiety, and totally ruin your mood. So yes — it’s totally worth taking the time to increase your moments of relaxation throughout the day.” – 11 Ways To Find Moments Of Relaxation In Your Day
  • “I’m not sure what impresses me the most in this video of workers painting the street. Is it the perfect angles drawn free hand with a tool that’s essentially a stick with an open box at the end? Is it the dude dropping the hot thermoplastic into that box, while his partner is drawing the letters? Or is it the exquisite, ballerina-like footwork of the two workers who make sure not to step on the letters they just made?” – Watching Workers Paint Letters on a Street Is So Soothing
  • “Although stereotype threat is not unique to women, we have singled it out as a primary cause of women’s greater workplace stress for a simple reason: the workplace is a minefield of negative stereotypes for women. This minefield exists because success in business and the professions — being perceived as a leader, effective negotiator, strong advocate, and keen evaluator — involves performing tasks associated with positive male stereotypes and negative female ones.” – Why Women Feel More Stress at Work

… and also in the news