Update doc comment

Signed-off-by: Fabian Reinartz <freinartz@google.com>
This commit is contained in:
Fabian Reinartz 2018-06-28 05:55:01 -04:00
parent d907928e57
commit 087c4c6d3a
1 changed files with 1 additions and 2 deletions

3
db.go
View File

@ -435,8 +435,7 @@ func (db *DB) reload() (err error) {
// after we loaded the other blocks. // after we loaded the other blocks.
// This makes us resilient against the process crashing towards the end of a compaction. // This makes us resilient against the process crashing towards the end of a compaction.
// Creation of a new block and deletion of its parents cannot happen atomically. By creating // Creation of a new block and deletion of its parents cannot happen atomically. By creating
// blocks atomically with their parents, we can pick up the deletion where it left off during // blocks with their parents, we can pick up the deletion where it left off during a crash.
// a crash.
var ( var (
blocks []*Block blocks []*Block
corrupted = map[ulid.ULID]error{} corrupted = map[ulid.ULID]error{}