Skip to content

Commit de152b4

Browse files
author
Lauren
authored
Merge pull request #2207 from basho/cv/fix/write_quorum
Updated write quorum defaults
2 parents 9c95a40 + c7d904d commit de152b4

File tree

10 files changed

+20
-20
lines changed

10 files changed

+20
-20
lines changed

content/riak/kv/2.0.0/developing/usage/creating-objects.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,9 +152,9 @@ requests also support the following parameters:
152152

153153
Parameter | Default | Description
154154
:---------|:--------|:-----------
155-
`w` | `2` | How many replicas to write to before returning a successful response
155+
`w` | `quorum` | How many replicas to write to before returning a successful response
156156
`pw` | `0` | How many primary vnodes must respond for a write to be deemed successful
157-
`dw` | `0` | How many replicas to commit to durable storage before returning a successful response
157+
`dw` | `quorum` | How many replicas to commit to durable storage before returning a successful response
158158
`returnbody` | `false` | Whether to return the contents of the stored object
159159

160160
Here is an example of storing an object (another brief text snippet)

content/riak/kv/2.0.1/developing/usage/creating-objects.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,9 +152,9 @@ requests also support the following parameters:
152152

153153
Parameter | Default | Description
154154
:---------|:--------|:-----------
155-
`w` | `2` | How many replicas to write to before returning a successful response
155+
`w` | `quorum` | How many replicas to write to before returning a successful response
156156
`pw` | `0` | How many primary vnodes must respond for a write to be deemed successful
157-
`dw` | `0` | How many replicas to commit to durable storage before returning a successful response
157+
`dw` | `quorum` | How many replicas to commit to durable storage before returning a successful response
158158
`returnbody` | `false` | Whether to return the contents of the stored object
159159

160160
Here is an example of storing an object (another brief text snippet)

content/riak/kv/2.0.2/developing/usage/creating-objects.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,9 +152,9 @@ requests also support the following parameters:
152152

153153
Parameter | Default | Description
154154
:---------|:--------|:-----------
155-
`w` | `2` | How many replicas to write to before returning a successful response
155+
`w` | `quorum` | How many replicas to write to before returning a successful response
156156
`pw` | `0` | How many primary vnodes must respond for a write to be deemed successful
157-
`dw` | `0` | How many replicas to commit to durable storage before returning a successful response
157+
`dw` | `quorum` | How many replicas to commit to durable storage before returning a successful response
158158
`returnbody` | `false` | Whether to return the contents of the stored object
159159

160160
Here is an example of storing an object (another brief text snippet)

content/riak/kv/2.0.4/developing/usage/creating-objects.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,9 +152,9 @@ requests also support the following parameters:
152152

153153
Parameter | Default | Description
154154
:---------|:--------|:-----------
155-
`w` | `2` | How many replicas to write to before returning a successful response
155+
`w` | `quorum` | How many replicas to write to before returning a successful response
156156
`pw` | `0` | How many primary vnodes must respond for a write to be deemed successful
157-
`dw` | `0` | How many replicas to commit to durable storage before returning a successful response
157+
`dw` | `quorum` | How many replicas to commit to durable storage before returning a successful response
158158
`returnbody` | `false` | Whether to return the contents of the stored object
159159

160160
Here is an example of storing an object (another brief text snippet)

content/riak/kv/2.0.5/developing/usage/creating-objects.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,9 +152,9 @@ requests also support the following parameters:
152152

153153
Parameter | Default | Description
154154
:---------|:--------|:-----------
155-
`w` | `2` | How many replicas to write to before returning a successful response
155+
`w` | `quorum` | How many replicas to write to before returning a successful response
156156
`pw` | `0` | How many primary vnodes must respond for a write to be deemed successful
157-
`dw` | `0` | How many replicas to commit to durable storage before returning a successful response
157+
`dw` | `quorum` | How many replicas to commit to durable storage before returning a successful response
158158
`returnbody` | `false` | Whether to return the contents of the stored object
159159

160160
Here is an example of storing an object (another brief text snippet)

content/riak/kv/2.0.6/developing/usage/creating-objects.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,9 +152,9 @@ requests also support the following parameters:
152152

153153
Parameter | Default | Description
154154
:---------|:--------|:-----------
155-
`w` | `2` | How many replicas to write to before returning a successful response
155+
`w` | `quorum` | How many replicas to write to before returning a successful response
156156
`pw` | `0` | How many primary vnodes must respond for a write to be deemed successful
157-
`dw` | `0` | How many replicas to commit to durable storage before returning a successful response
157+
`dw` | `quorum` | How many replicas to commit to durable storage before returning a successful response
158158
`returnbody` | `false` | Whether to return the contents of the stored object
159159

160160
Here is an example of storing an object (another brief text snippet)

content/riak/kv/2.0.7/developing/usage/creating-objects.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,9 +152,9 @@ requests also support the following parameters:
152152

153153
Parameter | Default | Description
154154
:---------|:--------|:-----------
155-
`w` | `2` | How many replicas to write to before returning a successful response
155+
`w` | `quorum` | How many replicas to write to before returning a successful response
156156
`pw` | `0` | How many primary vnodes must respond for a write to be deemed successful
157-
`dw` | `0` | How many replicas to commit to durable storage before returning a successful response
157+
`dw` | `quorum` | How many replicas to commit to durable storage before returning a successful response
158158
`returnbody` | `false` | Whether to return the contents of the stored object
159159

160160
Here is an example of storing an object (another brief text snippet)

content/riak/kv/2.1.1/developing/usage/creating-objects.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,9 +152,9 @@ requests also support the following parameters:
152152

153153
Parameter | Default | Description
154154
:---------|:--------|:-----------
155-
`w` | `2` | How many replicas to write to before returning a successful response
155+
`w` | `quorum` | How many replicas to write to before returning a successful response
156156
`pw` | `0` | How many primary vnodes must respond for a write to be deemed successful
157-
`dw` | `0` | How many replicas to commit to durable storage before returning a successful response
157+
`dw` | `quorum` | How many replicas to commit to durable storage before returning a successful response
158158
`returnbody` | `false` | Whether to return the contents of the stored object
159159

160160
Here is an example of storing an object (another brief text snippet)

content/riak/kv/2.1.3/developing/usage/creating-objects.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,9 +152,9 @@ requests also support the following parameters:
152152

153153
Parameter | Default | Description
154154
:---------|:--------|:-----------
155-
`w` | `2` | How many replicas to write to before returning a successful response
155+
`w` | `quorum` | How many replicas to write to before returning a successful response
156156
`pw` | `0` | How many primary vnodes must respond for a write to be deemed successful
157-
`dw` | `0` | How many replicas to commit to durable storage before returning a successful response
157+
`dw` | `quorum` | How many replicas to commit to durable storage before returning a successful response
158158
`returnbody` | `false` | Whether to return the contents of the stored object
159159

160160
Here is an example of storing an object (another brief text snippet)

content/riak/kv/2.1.4/developing/usage/creating-objects.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,9 +152,9 @@ requests also support the following parameters:
152152

153153
Parameter | Default | Description
154154
:---------|:--------|:-----------
155-
`w` | `2` | How many replicas to write to before returning a successful response
155+
`w` | `quorum` | How many replicas to write to before returning a successful response
156156
`pw` | `0` | How many primary vnodes must respond for a write to be deemed successful
157-
`dw` | `0` | How many replicas to commit to durable storage before returning a successful response
157+
`dw` | `quorum` | How many replicas to commit to durable storage before returning a successful response
158158
`returnbody` | `false` | Whether to return the contents of the stored object
159159

160160
Here is an example of storing an object (another brief text snippet)

0 commit comments

Comments
 (0)