Skip to content

kvserver: logically separate engines in apply stack #161059

@pav-kv

Description

@pav-kv

After #160565 merges, similarly support the lazily created log engine batches in other write paths that replicaAppBatch is responsible for (see all users of the batch that need a log engine access):

Nuances (maybe more during reviews):

  • The log truncation path is for the tightly coupled truncations. It won't be used with separated engines. Need to consider whether we want to skip it, or support half-legally (only to unblock some testing).
  • The replica destruction in config changes has a condition which would be good to get rid of.

Epic: CRDB-55220
Jira issue: CRDB-58685

Metadata

Metadata

Assignees

Labels

A-kv-replicationRelating to Raft, consensus, and coordination.C-enhancementSolution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)T-kvKV Teambranch-masterFailures and bugs on the master branch.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions