+
Skip to content

Tags: tidwall/wal

Tags

v1.2.1

Toggle v1.2.1's commit message
Allow empty logs after a fresh wal.Open

See #33

v1.2.0

Toggle v1.2.0's commit message
Include AllowEmpty option and IsEmpty method

This commit includes the AllowEmpty option which allows for
deleting all entries from the log using the TruncateFront and
TruncateBack methods.
Using AllowEmpty changes the behavior of the log as it relates
to FirstIndex and LastIndex in the following ways:

- An empty log will now always have the FirstIndex be equal to
  LastIndex+1. Witout AllowEmpty, FirstIndex can never be
  greater than LastIndex.
- For a newly created log that has no entries, FirstIndex() and
  LastIndex() return 1 and 0, respectively. Without AllowEmpty,
  both return 0.

Also in this commit:

- IsEmpty method, which returns true if the log has no entries
- More unit tests
- Various code cleanup

See #31

v1.1.8

Toggle v1.1.8's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Merge pull request #25 from vadiminshakov/master

fix truncate err handling

v1.1.7

Toggle v1.1.7's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Merge pull request #10 from ctrix/master

More secure and user defined file permissions

v0.1.6

Toggle v0.1.6's commit message
Upgrade modules

v0.1.5

Toggle v0.1.5's commit message
Updated gjson dependency

v0.1.4

Toggle v0.1.4's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Merge pull request #3 from gaoxinge/fix

Fix: catch os.Rename error

v0.1.3

Toggle v0.1.3's commit message
Updated packages

v0.1.2

Toggle v0.1.2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Merge pull request #2 from dim/fix/lock-contention

Avoid read-lock contention

v0.1.1

Toggle v0.1.1's commit message
Fix NoCopy

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载