cockroachdb / cockroachdb/cockroach

storage: improve WAL sync utilization with EAR

Open
#108,921 0 comments 0 reactions 0 assignees View on GitHub
A-storage C-enhancement C-performance T-storage
Dominant language
Go
Stars
32.5k
Forks
4.1k
PR merge metrics
PR metrics pending

Description

With encryption-at-rest enabled, the WAL's LogWriter flushing goroutine is responsible for encrypting data, writing it to the OS and syncing it. The time spent encrypting is time the LogWriter can't spend pushing data to disk, restricting the throughput of the WAL.

It's unclear how to decouple these steps, given encryption-at-rest is implemented within the vfs.FS interface below the LogWriter.

Jira issue: CRDB-30700

Epic CRDB-16419

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.