Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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
@gjmurakami-10gen gjmurakami-10gen authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/mongo.h
View
2  src/mongo.h
@@ -144,7 +144,7 @@ typedef struct mongo_host_port {
} mongo_host_port;
typedef struct mongo_write_concern {
- int w; /**< Number of nodes this write should be replicated to. */
+ int w; /**< Number of total replica write copies to complete including the primary. */
int wtimeout; /**< Number of milliseconds before replication timeout. */
int j; /**< If non-zero, block until the journal sync. */
int fsync; /**< Same a j with journaling enabled; otherwise, call fsync. */
Please sign in to comment.
Something went wrong with that request. Please try again.