This commit is contained in:
Raúl Kripalani 2021-08-04 17:34:47 +01:00
parent 270bad8144
commit 12d1f8e636
2 changed files with 7 additions and 26 deletions

View File

@ -9,7 +9,6 @@ import (
"sync" "sync"
"time" "time"
"github.com/filecoin-project/go-statemachine/fsm"
"github.com/ipfs/go-cid" "github.com/ipfs/go-cid"
ds "github.com/ipfs/go-datastore" ds "github.com/ipfs/go-datastore"
levelds "github.com/ipfs/go-ds-leveldb" levelds "github.com/ipfs/go-ds-leveldb"
@ -18,15 +17,17 @@ import (
ldbopts "github.com/syndtr/goleveldb/leveldb/opt" ldbopts "github.com/syndtr/goleveldb/leveldb/opt"
"golang.org/x/xerrors" "golang.org/x/xerrors"
"github.com/filecoin-project/go-fil-markets/storagemarket"
"github.com/filecoin-project/go-fil-markets/storagemarket/impl/providerstates"
"github.com/filecoin-project/lotus/node/config" "github.com/filecoin-project/lotus/node/config"
"github.com/filecoin-project/go-statemachine/fsm"
"github.com/filecoin-project/dagstore" "github.com/filecoin-project/dagstore"
"github.com/filecoin-project/dagstore/index" "github.com/filecoin-project/dagstore/index"
"github.com/filecoin-project/dagstore/mount" "github.com/filecoin-project/dagstore/mount"
"github.com/filecoin-project/dagstore/shard" "github.com/filecoin-project/dagstore/shard"
"github.com/filecoin-project/go-fil-markets/storagemarket"
"github.com/filecoin-project/go-fil-markets/storagemarket/impl/providerstates"
"github.com/filecoin-project/go-fil-markets/stores" "github.com/filecoin-project/go-fil-markets/stores"
) )

View File

@ -127,31 +127,11 @@ and storage providers`,
}, },
"DAGStoreConfig": []DocField{ "DAGStoreConfig": []DocField{
{ {
Name: "TransientsDir", Name: "RootDir",
Type: "string", Type: "string",
Comment: `Path to the transients directory. The transients directory caches Comment: `Default value: $LOTUS_MARKETS_PATH/dagStore (split deployment) or
unsealed deals that have been fetched from the storage subsystem for $LOTUS_MINER_PATH/dagStore (monolith deployment)`,
serving retrievals. When empty or omitted, the default value applies.
Default value: $LOTUS_MARKETS_PATH/dagStore/transients (split deployment)
or $LOTUS_MINER_PATH/dagStore/transients (monolith deployment)`,
},
{
Name: "IndexDir",
Type: "string",
Comment: `Path to indices directory. When empty or omitted, the default value applies.
Default value: $LOTUS_MARKETS_PATH/dagStore/index (split deployment)
or $LOTUS_MINER_PATH/dagStore/index (monolith deployment)`,
},
{
Name: "DatastoreDir",
Type: "string",
Comment: `Path to datastore directory. The datastore is a KV store tracking the
state of shards known to the DAG store.
Default value: $LOTUS_MARKETS_PATH/dagStore/datastore (split deployment)
or $LOTUS_MINER_PATH/dagStore/datastore (monolith deployment)`,
}, },
{ {
Name: "MaxConcurrentIndex", Name: "MaxConcurrentIndex",