diff --git a/bindings/flow/tester/Tester.actor.cpp b/bindings/flow/tester/Tester.actor.cpp index 2cb69c4c79..aeed0c1c2c 100644 --- a/bindings/flow/tester/Tester.actor.cpp +++ b/bindings/flow/tester/Tester.actor.cpp @@ -1562,7 +1562,7 @@ struct UnitTestsFunc : InstructionFunc { data->db->setDatabaseOption(FDBDatabaseOption::FDB_DB_OPTION_TRANSACTION_SIZE_LIMIT, Optional(StringRef((const uint8_t*)&sizeLimit, 8))); data->db->setDatabaseOption(FDBDatabaseOption::FDB_DB_OPTION_TRANSACTION_RETRY_LIMIT, Optional(StringRef((const uint8_t*)&retryLimit, 8))); data->db->setDatabaseOption(FDBDatabaseOption::FDB_DB_OPTION_TRANSACTION_RETRY_LIMIT, Optional(StringRef((const uint8_t*)&noRetryLimit, 8))); - data->db->setDatabaseOption(FDBDatabaseOption::FDB_DB_OPTION_CAUSAL_READ_RISKY); + data->db->setDatabaseOption(FDBDatabaseOption::FDB_DB_OPTION_TRANSACTION_CAUSAL_READ_RISKY); data->db->setDatabaseOption(FDBDatabaseOption::FDB_DB_OPTION_SNAPSHOT_RYW_ENABLE); data->db->setDatabaseOption(FDBDatabaseOption::FDB_DB_OPTION_SNAPSHOT_RYW_DISABLE); diff --git a/bindings/python/tests/tester.py b/bindings/python/tests/tester.py index 4cb9d1dbd3..b99b2f7c62 100644 --- a/bindings/python/tests/tester.py +++ b/bindings/python/tests/tester.py @@ -138,7 +138,7 @@ def test_db_options(db): db.options.set_transaction_size_limit(100000) db.options.set_transaction_retry_limit(10) db.options.set_transaction_retry_limit(-1) - db.options.set_causal_read_risky() + db.options.set_transaction_causal_read_risky() db.options.set_snapshot_ryw_enable() db.options.set_snapshot_ryw_disable() diff --git a/bindings/ruby/tests/tester.rb b/bindings/ruby/tests/tester.rb index 45e82df861..647c54929c 100755 --- a/bindings/ruby/tests/tester.rb +++ b/bindings/ruby/tests/tester.rb @@ -462,7 +462,7 @@ class Tester @db.options.set_transaction_size_limit(100000) @db.options.set_transaction_retry_limit(10) @db.options.set_transaction_retry_limit(-1) - @db.options.set_causal_read_risky() + @db.options.set_transaction_causal_read_risky() @db.options.set_snapshot_ryw_enable() @db.options.set_snapshot_ryw_disable() diff --git a/documentation/sphinx/source/api-python.rst b/documentation/sphinx/source/api-python.rst index 5d7b7077b0..5da2e95835 100644 --- a/documentation/sphinx/source/api-python.rst +++ b/documentation/sphinx/source/api-python.rst @@ -25,7 +25,7 @@ .. |timeout-database-option| replace:: :func:`Database.options.set_transaction_timeout` .. |max-retry-delay-database-option| replace:: :func:`Database.options.set_transaction_max_retry_delay` .. |transaction-size-limit-database-option| replace:: :func:`Database.options.set_transaction_size_limit` -.. |causal-read-risky-database-option| replace:: :func:`Database.options.set_causal_read_risky` +.. |causal-read-risky-database-option| replace:: :func:`Database.options.set_transaction_causal_read_risky` .. |snapshot-ryw-enable-database-option| replace:: :func:`Database.options.set_snapshot_ryw_enable` .. |snapshot-ryw-disable-database-option| replace:: :func:`Database.options.set_snapshot_ryw_disable` .. |future-type-string| replace:: a :ref:`future ` @@ -386,7 +386,7 @@ Database options |option-db-tr-size-limit-blurb| -.. method:: Database.options.set_causal_read_risky() +.. method:: Database.options.set_transaction_causal_read_risky() |option-db-causal-read-risky-blurb| diff --git a/documentation/sphinx/source/api-ruby.rst b/documentation/sphinx/source/api-ruby.rst index 7ab18b250b..517aa352b8 100644 --- a/documentation/sphinx/source/api-ruby.rst +++ b/documentation/sphinx/source/api-ruby.rst @@ -23,7 +23,7 @@ .. |timeout-database-option| replace:: :meth:`Database.options.set_transaction_timeout` .. |max-retry-delay-database-option| replace:: :meth:`Database.options.set_transaction_max_retry_delay` .. |transaction-size-limit-database-option| replace:: :func:`Database.options.set_transaction_size_limit` -.. |causal-read-risky-database-option| replace:: :meth:`Database.options.set_causal_read_risky` +.. |causal-read-risky-database-option| replace:: :meth:`Database.options.set_transaction_causal_read_risky` .. |snapshot-ryw-enable-database-option| replace:: :meth:`Database.options.set_snapshot_ryw_enable` .. |snapshot-ryw-disable-database-option| replace:: :meth:`Database.options.set_snapshot_ryw_disable` .. |future-type-string| replace:: a :class:`Future` @@ -382,7 +382,7 @@ Database options |option-db-tr-size-limit-blurb| -.. method:: Database.options.set_causal_read_risky() -> nil +.. method:: Database.options.set_transaction_causal_read_risky() -> nil |option-db-causal-read-risky-blurb| diff --git a/fdbclient/vexillographer/fdb.options b/fdbclient/vexillographer/fdb.options index a3d522741a..adf759e135 100644 --- a/fdbclient/vexillographer/fdb.options +++ b/fdbclient/vexillographer/fdb.options @@ -162,7 +162,7 @@ description is not currently required but encouraged. paramType="Int" paramDescription="value in bytes" description="Set the maximum transaction size in bytes. This sets the ``size_limit`` option on each transaction created by this database. See the transaction option description for more information." defaultFor="503"/> -