METASTORE_ISOLATIONLEVEL Enumeration

Represents the isolation level of a transaction.

typedef enum 
{
  METASTORE_ISOLATIONLEVEL_READCOMMITTED  = 0x1000,
  METASTORE_ISOLATIONLEVEL_REPEATABLEREAD = 0x10000,
  METASTORE_ISOLATIONLEVEL_SERIALIZABLE   = 0x100000,
} METASTORE_ISOLATIONLEVEL;

Members

  • METASTORE_ISOLATIONLEVEL_READCOMMITTED
    Data that has been modified but not committed by other transactions cannot be read. Data can be changed by other transactions between individual statements within the current transaction, resulting in non-repeatable reads or phantom data.
  • METASTORE_ISOLATIONLEVEL_REPEATABLEREAD
    Data that has been modified but not yet committed by other transactions cannot be read. No other transactions can modify data that has been read by the current transaction until the current transaction completes.
  • METASTORE_ISOLATIONLEVEL_SERIALIZABLE
    Data that has been modified but not yet committed by other transactions cannot be read. No other transactions can modify data that has been read by the current transaction until the current transaction completes. Other transactions cannot insert new rows with key values that would fall in the range of keys read by any statements in the current transaction until the current transaction completes.

Requirements

Header: Metastore.h

See Also

Reference

ISyncMetadataStore::BeginTransaction

Concepts

Sync Framework Metadata Storage Service Components