Closed Xiaoven closed 3 years ago
https://github.com/silaev/mongodb-replica-set/pull/6/files/fab77ca9fba77d2691db86761930fc24141bb0be#diff-5c42bb0d839e6da6b1e962b16247b3fad82eec9e7f9171c432b32a6b3ce250bbR1296
@@ -1279,7 +1293,7 @@ private String getReplicaSetReConfigUnsetSlaveDelay() {
).collect(Collectors.joining(
";\n",
"cfg = rs.conf();\n",
- ";\nrs.reconfig(cfg, {force : true, maxTimeMS: 5000})")
+ String.format(";\nrs.reconfig(cfg, {force : true, maxTimeMS: %d})", RECONFIG_MAX_TIME_MS))
);
Closed by #142
ES_COMPARING_STRINGS_WITH_EQ
遇到一个不知道什么版本的 Java 项目,我们的 parser 不能准确地划分它的 statements,但是如果用 get_exact_lineno 还是可以得到准确的行数的