mirror of https://gitee.com/bigwinds/arangodb
don't issue a warning when transaction log iterator reports more data (#9869)
This commit is contained in:
parent
480f0e799a
commit
479e2ab5da
|
@ -496,9 +496,10 @@ Result catchup(RocksDBIndex& ridx, WriteBatchType& wb, AccessMode::Type mode,
|
||||||
}
|
}
|
||||||
|
|
||||||
s = iterator->status();
|
s = iterator->status();
|
||||||
// we can ignore it if we get a try again when we have exclusive access,
|
// we can ignore it if we get a try again return value, because that either
|
||||||
// because that indicates a write to another collection
|
// indicates a write to another collection, or a write to this collection if
|
||||||
if (!s.ok() && res.ok() && !(haveExclusiveAccess && s.IsTryAgain())) {
|
// we are not in exclusive mode, in which case we will call catchup again
|
||||||
|
if (!s.ok() && res.ok() && !s.IsTryAgain()) {
|
||||||
LOG_TOPIC("8e3a4", WARN, Logger::ENGINES) << "iterator error '" <<
|
LOG_TOPIC("8e3a4", WARN, Logger::ENGINES) << "iterator error '" <<
|
||||||
s.ToString() << "'";
|
s.ToString() << "'";
|
||||||
res = rocksutils::convertStatus(s);
|
res = rocksutils::convertStatus(s);
|
||||||
|
|
Loading…
Reference in New Issue