Skip to content

fixes: configurable WAL sync#857

Merged
mattisonchao merged 1 commit intomainfrom
fix.configurable.wal
Jan 14, 2026
Merged

fixes: configurable WAL sync#857
mattisonchao merged 1 commit intomainfrom
fix.configurable.wal

Conversation

@mattisonchao
Copy link
Copy Markdown
Member

@mattisonchao mattisonchao commented Jan 14, 2026

Motivation

#367 introduced the option to disable WAL, but it didn't take effect for the dataserver.

@mattisonchao mattisonchao self-assigned this Jan 14, 2026
@mattisonchao mattisonchao requested a review from Copilot January 14, 2026 15:53
@mattisonchao mattisonchao changed the title feat: configurable write ahead log feat: configurable WAL sync Jan 14, 2026
@mattisonchao mattisonchao changed the title feat: configurable WAL sync fixes: configurable WAL sync Jan 14, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR fixes a bug where the WAL sync configuration option introduced in #367 was not being used. The hardcoded SyncData: true value has been replaced with a call to storage.WAL.IsSyncEnabled() to respect the user's configuration.

Changes:

  • Updated NewWithGrpcProvider to use the configurable IsSyncEnabled() method instead of hardcoded true for the WAL sync setting

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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.

2 participants