Skip to content

Add/accountsync#79

Merged
neerajvipparla merged 3 commits into
mainfrom
add/accountsync
May 20, 2026
Merged

Add/accountsync#79
neerajvipparla merged 3 commits into
mainfrom
add/accountsync

Conversation

@neerajvipparla
Copy link
Copy Markdown
Member

No description provided.

neerajvipparla and others added 3 commits May 20, 2026 18:55
Enhance the Write-Ahead Log (WAL) functionality by introducing an asynchronous buffer for event writes. The AddToBufferWAL method now serializes events and enqueues them into the buffer without blocking the main execution path. Additionally, a new DrainAsyncBuffer method ensures all pending entries are flushed before closing the WAL. This update improves performance by allowing non-blocking writes and efficient background flushing of log entries.
Refactor the writeToWAL method in the AsyncBuffer to enhance error handling during the buffer flush operation. Introduce a variable to capture the last flushed LSN and log the number of coalesced entries committed to disk upon successful flush. This update improves the clarity of log messages and ensures better tracking of WAL operations.
@neerajvipparla neerajvipparla merged commit a630fd8 into main May 20, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant