You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: blockstore/splitstore/README.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,7 +21,7 @@ To enable the splitstore, edit `.lotus/config.toml` and add the following:
21
21
EnableSplitstore = true
22
22
```
23
23
24
-
If you intend to use the discard coldstore, your also need to add the following:
24
+
If you intend to use the discard coldstore, you also need to add the following:
25
25
```
26
26
[Chainstore.Splitstore]
27
27
ColdStoreType = "discard"
@@ -84,7 +84,7 @@ can be substantial for full archival nodes.
84
84
All new writes are directed to the hotstore, while reads first hit the
85
85
hotstore, with fallback to the coldstore.
86
86
87
-
Once 5 finalities have ellapsed, and every finality henceforth, the
87
+
Once 5 finalities have elapsed, and every finality henceforth, the
88
88
blockstore _compacts_. Compaction is the process of moving all
89
89
unreachable objects within the last 4 finalities from the hotstore to
90
90
the coldstore. If the system is configured with a discard coldstore,
@@ -102,7 +102,7 @@ Compaction works transactionally with the following algorithm:
102
102
- We collect cold objects by iterating through the hotstore and checking the mark set; if an object is not marked, then it is candidate for purge.
103
103
- When running with a coldstore, we next copy all cold objects to the coldstore.
104
104
- At this point we are ready to begin purging:
105
-
- We sort cold objects heaviest first, so as to never delete the consituents of a DAG before the DAG itself (which would leave dangling references)
105
+
- We sort cold objects heaviest first, so as to never delete the constituents of a DAG before the DAG itself (which would leave dangling references)
106
106
- We delete in small batches taking a lock; each batch is checked again for marks, from the concurrent transactional mark, so as to never delete anything live
107
107
- We then end the transaction and compact/gc the hotstore.
Copy file name to clipboardExpand all lines: blockstore/splitstore/splitstore_compact.go
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -519,7 +519,7 @@ func (s *SplitStore) applyProtectors() error {
519
519
// - We collect cold objects by iterating through the hotstore and checking the mark set; if an object is not marked, then it is candidate for purge.
520
520
// - When running with a coldstore, we next copy all cold objects to the coldstore.
521
521
// - At this point we are ready to begin purging:
522
-
// - We sort cold objects heaviest first, so as to never delete the consituents of a DAG before the DAG itself (which would leave dangling references)
522
+
// - We sort cold objects heaviest first, so as to never delete the constituents of a DAG before the DAG itself (which would leave dangling references)
523
523
// - We delete in small batches taking a lock; each batch is checked again for marks, from the concurrent transactional mark, so as to never delete anything live
524
524
//
525
525
// - We then end the transaction and compact/gc the hotstore.
0 commit comments