github-actions[bot] commented on code in PR #16968:
URL: https://github.com/apache/doris/pull/16968#discussion_r1112491928
##########
be/src/olap/data_dir.cpp:
##########
@@ -678,7 +678,14 @@ void DataDir::perform_path_scan() {
<< " error[" << ret.to_string() << "]";
continue;
}
+
+ int counter = 0;
for (const auto& schema_hash : schema_hashes) {
+ ++counter;
+ int32_t interval_ms = config::path_scan_step_interval_ms;
+ if (interval_ms > 0) {
+ SleepFor(MonoDelta::FromMilliseconds(interval_ms));
Review Comment:
warning: use of undeclared identifier 'MonoDelta' [clang-diagnostic-error]
```cpp
SleepFor(MonoDelta::FromMilliseconds(interval_ms));
^
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]