-
Notifications
You must be signed in to change notification settings - Fork 522
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
client: explicit stop LeaseExecutor in FileInstance::UnInitialize
When uninit FileClient and some files are not closed, in FileInstance's destructor it will destroy LeaseExecutor, but LeaseExecutor's destructor will wait for backend lease task to stop, so without explicit close a file, thread will be stuck here. Signed-off-by: wuhanqing <wuhanqing@hotmail.com>
- Loading branch information
1 parent
7a6ed9e
commit 5edc463
Showing
11 changed files
with
208 additions
and
63 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
chunkserver.checkHealthTimeoutMs=100 | ||
chunkserver.enableAppliedIndexRead=1 | ||
chunkserver.maxRPCTimeoutMS=8000 | ||
chunkserver.maxRetrySleepIntervalUS=8000000 | ||
chunkserver.maxRetryTimesBeforeConsiderSuspend=20 | ||
chunkserver.maxStableTimeoutTimes=10 | ||
chunkserver.minRetryTimesForceTimeoutBackoff=5 | ||
chunkserver.opMaxRetry=3 | ||
chunkserver.opRetryIntervalUS=100000 | ||
chunkserver.rpcTimeoutMS=1000 | ||
chunkserver.serverStableThreshold=3 | ||
closefd.timeInterval=600 | ||
closefd.timeout=300 | ||
discard.enable=true | ||
discard.granularity=4096 | ||
discard.taskDelayMs=60000 | ||
global.fileIOSplitMaxSizeKB=64 | ||
global.fileMaxInFlightRPCNum=2048 | ||
global.logLevel=0 | ||
global.logPath=./runlog/ | ||
global.metricDummyServerStartPort=9000 | ||
global.turnOffHealthCheck=true | ||
isolation.taskQueueCapacity=1000000 | ||
isolation.taskThreadPoolSize=1 | ||
mds.listen.addr=127.0.0.1:9104,127.0.0.1:9104 | ||
mds.maxFailedTimesBeforeChangeMDS=2 | ||
mds.maxRPCTimeoutMS=2000 | ||
mds.maxRetryMS=8000 | ||
mds.maxRetryMsInIOPath=86400000 | ||
mds.normalRetryTimesBeforeTriggerWait=3 | ||
mds.refreshTimesPerLease=4 | ||
mds.registerToMDS=true | ||
mds.rpcRetryIntervalUS=500 | ||
mds.rpcTimeoutMS=500 | ||
mds.waitSleepMs=10000 | ||
metacache.getLeaderRetry=3 | ||
metacache.getLeaderTimeOutMS=1000 | ||
metacache.rpcRetryIntervalUS=500 | ||
schedule.queueCapacity=1000000 | ||
schedule.threadpoolSize=2 | ||
throttle.enable=true |
Oops, something went wrong.