Skip to content

Commit

Permalink
Merge pull request #1413 from ayushsatyam146/wal-replayer-rebase
Browse files Browse the repository at this point in the history
Adding WAL Replay functionality
  • Loading branch information
arpitbbhayani authored Jan 25, 2025
2 parents 99fe4ba + 06dc5cb commit 91f667a
Show file tree
Hide file tree
Showing 9 changed files with 427 additions and 395 deletions.
1 change: 0 additions & 1 deletion config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ type DiceDBConfig struct {
NumShards int `mapstructure:"num-shards" default:"-1" description:"number of shards to create. defaults to number of cores"`

EnableWAL bool `mapstructure:"enable-wal" default:"false" description:"enable write-ahead logging"`
WALEngine string `mapstructure:"wal-engine" default:"aof" description:"wal engine to use, values: sqlite, aof"`
WALDir string `mapstructure:"wal-dir" default:"/var/log/dicedb" description:"the directory to store WAL segments"`
WALMode string `mapstructure:"wal-mode" default:"buffered" description:"wal mode to use, values: buffered, unbuffered"`
WALWriteMode string `mapstructure:"wal-write-mode" default:"default" description:"wal file write mode to use, values: default, fsync"`
Expand Down
74 changes: 0 additions & 74 deletions dicedb.conf

This file was deleted.

Loading

0 comments on commit 91f667a

Please sign in to comment.