Skip to content

Commit 154c3cf

Browse files
author
Artyom Ivanov
committed
Silently ignore error about concurrent sweep instance when we try to run auto sweep
1 parent 7cc21bf commit 154c3cf

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/jrd/tra.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2756,6 +2756,9 @@ namespace {
27562756
status.check();
27572757

27582758
AutoRelease<IAttachment> att(prov->attachDatabase(&status, dbName.c_str(), dpbLen, dpbBytes));
2759+
if (fb_utils::containsErrorCode(status->getErrors(), isc_sweep_concurrent_instance))
2760+
return;
2761+
27592762
status.check();
27602763
}
27612764

0 commit comments

Comments
 (0)