Update doc comment
Signed-off-by: Fabian Reinartz <freinartz@google.com>
This commit is contained in:
parent
d907928e57
commit
087c4c6d3a
3
db.go
3
db.go
|
@ -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{}
|
||||||
|
|
Loading…
Reference in New Issue