diff --git a/doc/client.rst b/doc/client.rst index 041fbcfd9..0060c2604 100755 --- a/doc/client.rst +++ b/doc/client.rst @@ -1586,6 +1586,11 @@ Write Policies Default: ``0``, meaning 'never compress' + * **replica** + Algorithm used to determine target node. One of the :ref:`POLICY_REPLICA` values. + + Default: :data:`aerospike.POLICY_REPLICA_SEQUENCE` + .. _aerospike_read_policies: Read Policies @@ -1753,6 +1758,10 @@ Operate Policies | Perform durable delete | | Default: ``False`` + * **deserialize** :class:`bool` + | Should raw bytes representing a list or map be deserialized to a Python list or map. Set to false for backup programs that just need access to raw bytes. + | + | Default: :py:obj:`True` * **expressions** :class:`list` | Compiled aerospike expressions :mod:`aerospike_helpers` used for filtering records within a transaction. | @@ -1818,10 +1827,6 @@ Apply Policies | One of the :ref:`POLICY_REPLICA` values such as :data:`aerospike.POLICY_REPLICA_MASTER` | | Default: :data:`aerospike.POLICY_REPLICA_SEQUENCE` - * **gen** - | One of the :ref:`POLICY_GEN` values such as :data:`aerospike.POLICY_GEN_IGNORE` - | - | Default: :data:`aerospike.POLICY_GEN_IGNORE` * **commit_level** | One of the :ref:`POLICY_COMMIT_LEVEL` values such as :data:`aerospike.POLICY_COMMIT_LEVEL_ALL` | @@ -1899,6 +1904,8 @@ Remove Policies | One of the :ref:`POLICY_GEN` values such as :data:`aerospike.POLICY_GEN_IGNORE` | | Default: :data:`aerospike.POLICY_GEN_IGNORE` + * **generation** (:class:`int`) + | The generation of the record. This value is limited to a 16-bit unsigned integer. * **durable_delete** (:class:`bool`) | Perform durable delete | @@ -2110,6 +2117,10 @@ Batch Apply Policies | Note that the TTL value will be employed ONLY on write/update calls. | | Default: 0 + * **durable_delete** :class:`bool` + | If the transaction results in a record deletion, leave a tombstone for the record. This prevents deleted records from reappearing after node failures. Valid for Aerospike Server Enterprise Edition only. + | + | Default: :py:obj:`False` (do not tombstone deleted records). * **expressions** :class:`list` | Compiled aerospike expressions :mod:`aerospike_helpers` used for filtering records within a transaction. |