Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit c55511c

Browse filesBrowse files
committed
fix
1 parent 1a3f837 commit c55511c
Copy full SHA for c55511c

File tree

Expand file treeCollapse file tree

2 files changed

+3
-3
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+3
-3
lines changed

‎cloud/src/meta-service/meta_service_txn.cpp

Copy file name to clipboardExpand all lines: cloud/src/meta-service/meta_service_txn.cpp
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -996,7 +996,7 @@ void process_mow_when_commit_txn(
996996
return;
997997
}
998998

999-
if (pending_info.lock_id() != lock_id) {
999+
if (pending_info.has_lock_id() && pending_info.lock_id() != lock_id) {
10001000
code = MetaServiceCode::PENDING_DELETE_BITMAP_WRONG;
10011001
msg = fmt::format(
10021002
"wrong lock_id in pending delete bitmap infos, expect lock_id={}, but "

‎regression-test/suites/fault_injection_p0/cloud/test_cloud_pending_delete_bitmaps_removed_by_other_txn.groovy

Copy file name to clipboardExpand all lines: regression-test/suites/fault_injection_p0/cloud/test_cloud_pending_delete_bitmaps_removed_by_other_txn.groovy
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@ suite("test_cloud_pending_delete_bitmaps_removed_by_other_txn", "nonConcurrent")
5050
GetDebugPoint().clearDebugPointsForAllFEs()
5151
GetDebugPoint().clearDebugPointsForAllBEs()
5252

53-
// block the first load after it writes pending delete bitmaps in MS and before
54-
// it commit txn in MS util its delete bitmap update lock in MS timeout
53+
// let the first load fail and retry after it writes pending delete bitmaps in MS and before
54+
// it commit txn in MS
5555
GetDebugPoint().enableDebugPointForAllBEs("CloudTablet::save_delete_bitmap.enable_sleep", [sleep: 5])
5656
GetDebugPoint().enableDebugPointForAllBEs("CloudTablet::save_delete_bitmap.injected_error", [retry: true])
5757

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.