diff --git a/blockstore/splitstore/splitstore.go b/blockstore/splitstore/splitstore.go index bbc72150a..0fb216cbd 100644 --- a/blockstore/splitstore/splitstore.go +++ b/blockstore/splitstore/splitstore.go @@ -53,7 +53,8 @@ var ( // On first start, the splitstore will walk the state tree and will copy // all active blocks into the hotstore. warmupEpochKey = dstore.NewKey("/splitstore/warmupEpoch") - log = logging.Logger("splitstore") + + log = logging.Logger("splitstore") ) const batchSize = 16384 @@ -66,12 +67,12 @@ func init() { type Config struct { // TrackingStore is the type of tracking store to use. // - // Supported values are: "bolt". + // Supported values are: "bolt" (default if omitted). TrackingStoreType string // MarkSetType is the type of mark set to use. // - // Supported values are: "bolt", "bloom". + // Supported values are: "bloom" (default if omitted), "bolt". MarkSetType string // perform full reachability analysis (expensive) for compaction // You should enable this option if you plan to use the splitstore without a backing coldstore diff --git a/blockstore/splitstore/tracking.go b/blockstore/splitstore/tracking.go index af944ba08..fc1895e49 100644 --- a/blockstore/splitstore/tracking.go +++ b/blockstore/splitstore/tracking.go @@ -10,10 +10,7 @@ import ( ) // TrackingStore is a persistent store that tracks blocks that are added -// within the current compaction range, including the epoch at which they are -// written. -// -// On every compaction, we iterate over +// to the hotstore, tracking the epoch at which they are written. type TrackingStore interface { Put(cid.Cid, abi.ChainEpoch) error PutBatch([]cid.Cid, abi.ChainEpoch) error