cockroachdb / cockroachdb/cockroach
storage: improve WAL sync utilization with EAR
Open
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
Assessment
This issue has not been assessed yet.