Table of Contents

Enum TransactionDbWritePolicy

Namespace
RocksDbNet
Assembly
RocksDb.Net.dll

When a transaction's data reaches the memtable, mapped from rocksdb::TxnDBWritePolicy in utilities/transaction_db.h.

public enum TransactionDbWritePolicy

Fields

WriteCommitted = 0

Data is written when the transaction commits. The default, and the only value RocksDb describes as mature.

WritePrepared = 1

Data is written after the prepare phase of two-phase commit.

RocksDb marks this experimental: less validated than WriteCommitted and less compatible with other features.

WriteUnprepared = 2

Data is written before the prepare phase of two-phase commit.

RocksDb marks this experimental, with the same caveats as WritePrepared.