Skip to content

Commit 60a0510

Browse files
author
Brett Hazen
authored
Merge pull request #1226 from basho/bch-fix-show-create-table
Update the replication parameters which are now TS defaults
2 parents 80ea91c + 1ca0484 commit 60a0510

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

priv/riak_shell/riak_shell_regression1.log

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -96,17 +96,17 @@ temperature DOUBLE,
9696
PRIMARY KEY ((region, state, QUANTUM(time, 15, 'm')),
9797
region, state, time))
9898
WITH (active = true,
99-
allow_mult = true,
100-
dvv_enabled = true,
101-
dw = quorum,
102-
last_write_wins = false,
99+
allow_mult = false,
100+
dvv_enabled = false,
101+
dw = one,
102+
last_write_wins = true,
103103
n_val = 3,
104104
notfound_ok = true,
105105
postcommit = '',
106106
pr = 0,
107107
pw = 0,
108-
r = quorum,
109-
rw = quorum,
108+
r = one,
109+
rw = one,
110110
w = quorum)"}}.
111111
{{command, "h; "}, {result, "Error: invalid function call : history_EXT:h []
112112
You can rerun a command by finding the command in the history list

tests/ts_simple_show_create_table.erl

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -49,17 +49,17 @@ confirm() ->
4949
"PRIMARY KEY ((somechars, somebool, QUANTUM(sometime, 1, 'h')),\n"
5050
"somechars, somebool, sometime))\n"
5151
"WITH (active = true,\n"
52-
"allow_mult = true,\n"
53-
"dvv_enabled = true,\n"
54-
"dw = quorum,\n"
55-
"last_write_wins = false,\n"
52+
"allow_mult = false,\n"
53+
"dvv_enabled = false,\n"
54+
"dw = one,\n"
55+
"last_write_wins = true,\n"
5656
"n_val = 2,\n"
5757
"notfound_ok = true,\n"
5858
"postcommit = '',\n"
5959
"pr = 0,\n"
6060
"pw = 0,\n"
61-
"r = quorum,\n"
62-
"rw = quorum,\n"
61+
"r = one,\n"
62+
"rw = one,\n"
6363
"w = quorum)",
6464
?assertEqual(Expected, Got),
6565
pass.

0 commit comments

Comments
 (0)