cockroach icon indicating copy to clipboard operation
cockroach copied to clipboard

Documentation Improvement.

Open slateraus opened this issue 8 years ago • 2 comments

https://www.cockroachlabs.com/docs/stable/configure-replication-zones.html

You set the num_replicas = 4 I assume it should be 5 looking at the example commands.

ALTER TABLE t CONFIGURE ZONE USING range_min_bytes = 0, range_max_bytes = 90000, gc.ttlseconds = 89999, num_replicas = 5, constraints = '[-region=west]';

then the doc shows the command show all zone configurations:

zone_config_test.t | ALTER TABLE zone_config_test.public.t CONFIGURE ZONE USING | range_min_bytes = 0, | range_max_bytes = 90000, | gc.ttlseconds = 89999, | num_replicas = 4, <- should be 5 | constraints = '[-region=west]'

Sorry for being picky :-)

slateraus avatar Nov 15 '18 21:11 slateraus

Thank you for your suggestion!

knz avatar Nov 26 '18 10:11 knz

Thanks for reporting this, @slateraus. That particular example was extraneous and will be removed in https://github.com/cockroachdb/docs/pull/4087.

jseldess avatar Nov 26 '18 14:11 jseldess