yugabyte/yugabyte-db

[DocDB] The term "apply" is overloaded

Aperta

#15.280 aperta il 9 dic 2022

 (0 commenti) (0 reazioni) (1 assegnatario)C (1003 fork)batch import
area/docdbgood first issuekind/enhancementpriority/medium

Metriche repository

Star
 (8229 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

Jira Link: DB-4441

Description

In our code, the word "apply" could mean any of the following things:

  • Applying Raft records to the underlying state machine (RocksDB)
  • Applying intents to regular RocksDB (reading from intents DB and writing to the regular RocksDB)

Perhaps we should rename "applying" transactions to "settling" transactions.

Guida contributor