@@ -503,6 +503,9 @@ void ChunkServer::InitChunkFilePoolOptions(
503503 LOG_IF (FATAL, !conf->GetBoolValue (
504504 " chunkfilepool.enable_get_chunk_from_pool" ,
505505 &chunkFilePoolOptions->getFileFromPool ));
506+ LOG_IF (FATAL, !conf->GetUInt32Value (
507+ " chunkfilepool.chunk_reserved" ,
508+ &chunkFilePoolOptions->chunkReserved ));
506509
507510 if (chunkFilePoolOptions->getFileFromPool == false ) {
508511 std::string chunkFilePoolUri;
@@ -710,6 +713,9 @@ void ChunkServer::InitCopysetNodeOptions(
710713 LOG_IF (FATAL, !conf->GetUInt32Value (" copyset.sync_trigger_seconds" ,
711714 ©setNodeOptions->syncTriggerSeconds ));
712715 }
716+ LOG_IF (FATAL, !conf->GetUInt32Value (
717+ " copyset.wait_for_disk_freed_interval_ms" ,
718+ ©setNodeOptions->waitForDiskFreedIntervalMs ));
713719}
714720
715721void ChunkServer::InitCopyerOptions (
@@ -781,6 +787,9 @@ void ChunkServer::InitHeartbeatOptions(
781787 &heartbeatOptions->intervalSec ));
782788 LOG_IF (FATAL, !conf->GetUInt32Value (" mds.heartbeat_timeout" ,
783789 &heartbeatOptions->timeout ));
790+ LOG_IF (FATAL, !conf->GetUInt32Value (
791+ " chunkfilepool.disk_usage_percent_limit" ,
792+ &heartbeatOptions->chunkserverDiskLimit ));
784793}
785794
786795void ChunkServer::InitRegisterOptions (
0 commit comments