We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a746f17 commit 01ae82eCopy full SHA for 01ae82e
curvefs/src/metaserver/metaserver.cpp
@@ -136,8 +136,11 @@ void Metaserver::InitLocalFileSystem() {
136
void InitS3Option(const std::shared_ptr<Configuration>& conf,
137
S3ClientAdaptorOption* s3Opt) {
138
LOG_IF(FATAL, !conf->GetUInt64Value("s3.batchsize", &s3Opt->batchSize));
139
- LOG_IF(FATAL, !conf->GetBoolValue("s3.enableBatchDelete",
140
- &s3Opt->enableBatchDelete));
+ bool ret =
+ conf->GetBoolValue("s3.enableBatchDelete", &s3Opt->enableBatchDelete);
141
+ LOG_IF(WARNING, ret == false)
142
+ << "config no s3.enableBatchDelete info, using default value "
143
+ << s3Opt->enableBatchDelete;
144
}
145
146
void Metaserver::InitPartitionOption(std::shared_ptr<S3ClientAdaptor> s3Adaptor,
0 commit comments