This repository has been archived by the owner on Nov 14, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[_transactions2] Part 21: Release Notes and Exposing Transactions2 (#…
…3740) * Docs for configuration of transactions2 * Changelog * CR comments part 1 * Add beta mention * Remove references to new namespace
- Loading branch information
1 parent
9c22fb1
commit 8ff4fe8
Showing
4 changed files
with
64 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
.. _internal-schema-configuration: | ||
|
||
============================= | ||
Internal Schema Configuration | ||
============================= | ||
|
||
This document covers configuration pertaining to settings about the internal schema that AtlasDB uses for storing | ||
some of its state. These settings should be specified under the ``internalSchema`` key in an | ||
``AtlasDbRuntimeConfiguration``. | ||
|
||
For a full list of the configurations available at this block, see | ||
`InternalSchemaConfig.java <https://github.com/palantir/atlasdb/blob/develop/atlasdb-impl-shared/src/main/java/com/palantir/atlasdb/internalschema/InternalSchemaConfig.java>`__. | ||
|
||
Target Transactions Schema Version | ||
================================== | ||
|
||
.. warning:: | ||
|
||
_transactions2 is currently only supported for Cassandra and In-Memory KVSes. | ||
|
||
AtlasDB needs to persist information about the start and commit timestamps of transactions that have committed. | ||
This may be done in various ways, and is configurable. We currently support two strategies: | ||
|
||
- version 1, which variable-length encodes the start and commit timestamps and stores them in the ``_transactions`` | ||
table. | ||
- version 2, which variable-length encodes the start and commit timestamps following the | ||
`TicketsEncodingStrategy <https://github.com/palantir/atlasdb/blob/develop/atlasdb-impl-shared/src/main/java/com/palantir/atlasdb/transaction/encoding/TicketsEncodingStrategy.java>`__, | ||
storing them in the ``_transactions2`` table. | ||
|
||
If specified, this AtlasDB client will attempt to install the provided transaction schema version. This can be done in | ||
a live fashion without downtime, though it may take a while (in terms of AtlasDB timestamps) to take effect. If | ||
install is successful, a message will be logged indicating when the switch will take place. If needed, one can force | ||
the new version to be used by fast-forwarding the timestamp to that point. To do this, see | ||
:ref:`Timestamp Service Management <timestamp-service-management>`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters