Bug #73070
closedCrimson/SeaStore: pg deleting transactions keep being invalidated.
0%
Description
In the teuthology test:
https://pulpito.ceph.com/xuxuehan-2025-09-12_06:54:51-crimson-rados:thrash_simple-wip-xuxuehan-65134-65198-65234-65283-65317-65353-65424-testing-distro-crimson-debug-smithi/8495872/
PG 3.b's delete transaction kept being invalidated, blocking all osd map committing procedures, and further all other pg related request processing on the same shard.
The following tests have the same issue.
https://pulpito.ceph.com/xuxuehan-2025-09-12_06:54:51-crimson-rados:thrash_simple-wip-xuxuehan-65134-65198-65234-65283-65317-65353-65424-testing-distro-crimson-debug-smithi/8495887/
https://pulpito.ceph.com/xuxuehan-2025-09-12_06:54:51-crimson-rados:thrash_simple-wip-xuxuehan-65134-65198-65234-65283-65317-65353-65424-testing-distro-crimson-debug-smithi/8495914/
https://pulpito.ceph.com/xuxuehan-2025-09-12_06:54:51-crimson-rados:thrash_simple-wip-xuxuehan-65134-65198-65234-65283-65317-65353-65424-testing-distro-crimson-debug-smithi/8495917/
https://pulpito.ceph.com/xuxuehan-2025-09-18_08:01:34-crimson-rados-wip-seastore-clone-range-latest-distro-crimson-debug-smithi/8508858
https://pulpito.ceph.com/xuxuehan-2025-09-18_08:01:34-crimson-rados-wip-seastore-clone-range-latest-distro-crimson-debug-smithi/8508860/
https://pulpito.ceph.com/xuxuehan-2025-09-18_08:01:34-crimson-rados-wip-seastore-clone-range-latest-distro-crimson-debug-smithi/8508869/
XX Updated by Xuehan Xu about 1 year ago
- Description updated (diff)
XX Updated by Xuehan Xu about 1 year ago
- Description updated (diff)
XX Updated by Xuehan Xu about 1 year ago
It seems that the transactions that kept invalidating the pg deletion transaction were mostly cleaner transactions:
DEBUG 2025-09-12 08:36:28,421 [shard 0:main] seastore_t - 0x7c8e3f74a080 trans.33529 Cache::create_transaction: created name=clean_reclaim_space, source=CLEANER_MAIN, is_weak=false ....... DEBUG 2025-09-12 08:36:28,707 [shard 0:main] seastore_t - 0x7c8e3f74a080 trans.33529 Cache::invalidate_extent: conflict begin -- CachedExtent(addr=0x7c7e3f94d500, type=LADDR_LEAF, trans=0, version=3262, dirty_from=jseq(sseq(12), paddr<Seg[Dev(0x0),0x0],0x169000>), modify_time=tp(2025-09-12 08:36:26), paddr=paddr<Seg[Dev(0x0),0x11],0x400000>, prior_paddr=nullopt, length=0x1000, loaded=0x1000, state=DIRTY, last_committed_crc=1363541193, refcount=4, user_hint=Hint(NULL), rewrite_gen=GEN_NULL, pending_io=N/A, size=73, meta=btree_node_meta_t(begin=L0xff03ad6cbe3300f5, end=L0xff03af9266550092, depth=1), modifications=0, my_tracker=0x7b2e3f467d30, my_tracker->parent=0x7c7e3f4dcb00, root_block=0) DEBUG 2025-09-12 08:36:28,708 [shard 0:main] seastore_t - 0x7c8e3f6a5c80 trans.2743 Cache::mark_transaction_conflicted: discard 9(110592B) read, 4(16384B) fresh, 2(112B) delta, 3(73728B) retire, 0(0B) ool-records
XX Updated by Xuehan Xu about 1 year ago
- Assignee set to Xuehan Xu
XX Updated by Xuehan Xu about 1 year ago
- Description updated (diff)
XX Updated by Xuehan Xu about 1 year ago
- Description updated (diff)
XX Updated by Xuehan Xu about 1 year ago
- Description updated (diff)
AM Updated by Aishwarya Mathuria 11 months ago
- Related to Bug #73791: Exiting scrub checking -- not all pgs scrubbed added
MB Updated by Matan Breizman 10 months ago
- Status changed from New to Fix Under Review
- Pull request ID set to 67024
https://github.com/ceph/ceph/pull/67024 should help with this as resolved in https://tracker.ceph.com/issues/73791.
Reducing osd_target_transaction_size to 5 to lower conflict rates and allow deletion transactions to complete is a temporary workaround.
The conflict transaction mechanism is planned to be restructured.
MB Updated by Matan Breizman 10 months ago
- Related to Bug #74507: qa/suites/crimson-rados/thrash: Restore osd_target_transaction_size to default value added
UB Updated by Upkeep Bot 10 months ago
- Status changed from Fix Under Review to Resolved
- Merge Commit set to ecb025fde98e9aea08ece2afa48ad34ad9adce4c
- Fixed In set to v20.3.0-5193-gecb025fde9
- Upkeep Timestamp set to 2026-02-09T10:41:21+00:00
UB Updated by Upkeep Bot about 1 month ago
- Released In set to v21.2.0~1304
- Upkeep Timestamp changed from 2026-02-09T10:41:21+00:00 to 2026-10-24T01:42:58+00:00