Release v0.3.0
Notable change - WAL support
This release comes with WAL (Write Ahead Log) support, which means a certain level of durability is guaranteed because the data on the memory partition is appended to the log file on the disk.
WAL is enabled by default in on-disk mode. This slightly affects the write performance, so if you want to disable it, give -1
to WithWALBufferedSize()
like:
storage, err := tstorage.NewStorage(
tstorage.WithDataPath("./data"),
tstorage.WithWALBufferedSize(-1),
)