Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

CDRIVER-168 - Update "w" description to be clear it includes the pri…

…mary, so "(total) number of replicas" not "replicated to"

 Now reads: Number of total replica write copies to complete including the primary.
  • Loading branch information...
commit aee9ff2778d39a86fcca70e09752ea45d44c1e68 1 parent 8ae2c57
Gary J. Murakami, Ph.D. gjmurakami-10gen authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  src/mongo.h
2  src/mongo.h
@@ -144,7 +144,7 @@ typedef struct mongo_host_port {
144 144 } mongo_host_port;
145 145
146 146 typedef struct mongo_write_concern {
147   - int w; /**< Number of nodes this write should be replicated to. */
  147 + int w; /**< Number of total replica write copies to complete including the primary. */
148 148 int wtimeout; /**< Number of milliseconds before replication timeout. */
149 149 int j; /**< If non-zero, block until the journal sync. */
150 150 int fsync; /**< Same a j with journaling enabled; otherwise, call fsync. */

0 comments on commit aee9ff2

Please sign in to comment.
Something went wrong with that request. Please try again.