mikewalch closed pull request #131: Improve table durability docs URL: https://github.com/apache/accumulo-website/pull/131
This is a PR merged from a forked repository. As GitHub hides the original diff on merge, it is displayed below for the sake of provenance: As this is a foreign pull request (from a fork), the diff is supplied below (as it won't show otherwise due to GitHub magic): diff --git a/_docs-2/getting-started/clients.md b/_docs-2/getting-started/clients.md index ba2b44fd..bda0c661 100644 --- a/_docs-2/getting-started/clients.md +++ b/_docs-2/getting-started/clients.md @@ -195,10 +195,17 @@ These levels are: Durability can be set in multiple ways: -1. The default durability of a table can be set in the Accumulo shell -2. When creating a [AccumuloClient], the default durability can be overridden using `withBatchWriterConfig()` +1. The default durability of all tables can be set using [table.durability]. + ``` + root@uno> config -s table.durability=flush + ``` +2. The default durability of a table can be overriden by setting [table.durability] for that table. + ``` + root@uno> config -t mytable -s table.durability=sync + ``` +3. When creating a [AccumuloClient], the default durability can be overridden using `withBatchWriterConfig()` or by setting [batch.writer.durability] in [accumulo-client.properties]. -3. When a BatchWriter or ConditionalWriter is created, the durability settings above will be overridden +4. When a BatchWriter or ConditionalWriter is created, the durability settings above will be overridden by the `BatchWriterConfig` that is passed in. ```java @@ -376,3 +383,4 @@ This page covers Accumulo client basics. Below are links to additional document [reservations]: https://github.com/apache/accumulo-examples/blob/master/docs/reservations.md [isolation]: https://github.com/apache/accumulo-examples/blob/master/docs/isolation.md [accumulo-client.properties]: {% durl configuration/files#accumulo-clientproperties %} +[table.durability]: {% purl table.durability %} ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services