[KongchangAI]
ConceptOptimistic Concurrency Control / OCC

Optimistic Concurrency Control

A concurrency control mechanism that assumes transaction conflicts are infrequent, allowing operations to execute without acquiring locks. Conflicts are detected at commit time through atomic validation. The approach is widely used in distributed systems and database transaction management.

Timeline (last 90 days)

Oct 16

Lakehouse solutions mostly adopt optimistic concurrency control together with atomic commits at the metadata layer.

Unverified50%
Oct 16

Optimistic concurrency control checks only at commit time whether there is a conflict with other transactions, and if there is a conflict, it rolls back and retries; throughput is higher in low-conflict scenarios, but when writing concurrently to the same partition or the same table, the number of retries rises significantly and can even lead to a higher transaction failure rate.

Unverified50%
Oct 15

In high-contention financial hotspot scenarios, optimistic concurrency control causes most transactions to fail the version check, triggering a retry storm.

Unverified50%
Oct 13

High-reliability ledgers use optimistic concurrency control (OCC) together with immutable append constraints, or use pessimistic row-level locking (SELECT ... FOR UPDATE) on account pointer records.

Unverified50%
Oct 12

The "last-write trap" described in the article is the Lost Update problem in distributed systems; one standard solution is optimistic concurrency control, which operates on the same principle as a database CAS operation.

Unverified50%
Oct 12

Before committing to storage, the target record, permitted change types, and current record version number should be validated; if they are inconsistent with the proposal, the current record should be retained and the conflict routed to a human for handling.

Unverified50%
Oct 4

Iceberg and Delta Lake use optimistic concurrency control mechanisms, where write operations commit transactions by atomically updating the pointer to the current metadata file.

Unverified50%
Oct 4

When two catalogs each permit writes, they may independently advance their respective maintained pointers, causing one commit to overwrite the other and resulting in data loss or state inconsistency.

Unverified50%

All Facts (8)

Unverified

Lakehouse solutions mostly adopt optimistic concurrency control together with atomic commits at the metadata layer.

50%
Unverified

Optimistic concurrency control checks only at commit time whether there is a conflict with other transactions, and if there is a conflict, it rolls back and retries; throughput is higher in low-conflict scenarios, but when writing concurrently to the same partition or the same table, the number of retries rises significantly and can even lead to a higher transaction failure rate.

50%
Unverified

In high-contention financial hotspot scenarios, optimistic concurrency control causes most transactions to fail the version check, triggering a retry storm.

50%
Unverified

High-reliability ledgers use optimistic concurrency control (OCC) together with immutable append constraints, or use pessimistic row-level locking (SELECT ... FOR UPDATE) on account pointer records.

50%
Unverified

The "last-write trap" described in the article is the Lost Update problem in distributed systems; one standard solution is optimistic concurrency control, which operates on the same principle as a database CAS operation.

50%
Unverified

Before committing to storage, the target record, permitted change types, and current record version number should be validated; if they are inconsistent with the proposal, the current record should be retained and the conflict routed to a human for handling.

50%
Unverified

Iceberg and Delta Lake use optimistic concurrency control mechanisms, where write operations commit transactions by atomically updating the pointer to the current metadata file.

50%
Unverified

When two catalogs each permit writes, they may independently advance their respective maintained pointers, causing one commit to overwrite the other and resulting in data loss or state inconsistency.

50%

Source Articles