feat:splitstore:Splitstore enabled by default (#10429)

Discard mode
---------

Co-authored-by: zenground0 <ZenGround0@users.noreply.github.com>
This commit is contained in:
ZenGround0 2023-03-09 08:37:34 -05:00 committed by GitHub
parent ab91ab100f
commit c80783dbea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -191,7 +191,7 @@
[Chainstore] [Chainstore]
# type: bool # type: bool
# env var: LOTUS_CHAINSTORE_ENABLESPLITSTORE # env var: LOTUS_CHAINSTORE_ENABLESPLITSTORE
#EnableSplitstore = false #EnableSplitstore = true
[Chainstore.Splitstore] [Chainstore.Splitstore]
# ColdStoreType specifies the type of the coldstore. # ColdStoreType specifies the type of the coldstore.
@ -199,7 +199,7 @@
# #
# type: string # type: string
# env var: LOTUS_CHAINSTORE_SPLITSTORE_COLDSTORETYPE # env var: LOTUS_CHAINSTORE_SPLITSTORE_COLDSTORETYPE
#ColdStoreType = "messages" #ColdStoreType = "discard"
# HotStoreType specifies the type of the hotstore. # HotStoreType specifies the type of the hotstore.
# Only currently supported value is "badger". # Only currently supported value is "badger".

View File

@ -89,9 +89,9 @@ func DefaultFullNode() *FullNode {
SimultaneousTransfersForRetrieval: DefaultSimultaneousTransfers, SimultaneousTransfersForRetrieval: DefaultSimultaneousTransfers,
}, },
Chainstore: Chainstore{ Chainstore: Chainstore{
EnableSplitstore: false, EnableSplitstore: true,
Splitstore: Splitstore{ Splitstore: Splitstore{
ColdStoreType: "messages", ColdStoreType: "discard",
HotStoreType: "badger", HotStoreType: "badger",
MarkSetType: "badger", MarkSetType: "badger",