Project

General

Profile

Actions

Bug #70882

closed
CB AE

multisite: datalog listing asserts on out-of-bounds --shard-id

Bug #70882: multisite: datalog listing asserts on out-of-bounds --shard-id

Added by Casey Bodley over 1 year ago. Updated about 1 month ago.

Status:
Resolved
Priority:
Normal
Assignee:
Target version:
-
Due date:
% Done:

0%

Source:
Backport:
tentacle
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Tags (freeform):
multisite, datalog
Fixed In:
v20.3.0-2135-g3f96a23642
Released In:
v21.2.0~2312
Upkeep Timestamp:
2026-10-24T02:04:13+00:00

Description

$ bin/radosgw-admin -c run/c1/ceph.conf datalog list --shard-id 99
2025-04-10T14:48:42.325-0400 7f26471971c0 -1 WARNING: all dangerous and experimental features are enabled.
2025-04-10T14:48:42.333-0400 7f26471971c0 -1 WARNING: all dangerous and experimental features are enabled.
2025-04-10T14:48:42.334-0400 7f26471971c0 -1 WARNING: all dangerous and experimental features are enabled.
radosgw-admin: /home/cbodley/ceph/src/rgw/driver/rados/rgw_datalog.cc:1113: int RGWDataChangesLog::list_entries(const DoutPrefixProvider*, int, int, std::vector<rgw_data_change_log_entry>&, std::string_view, std::string*, bool*, optional_yield): Assertion `shard < num_shards' failed.
*** Caught signal (Aborted) **
 in thread 7f26471971c0 thread_name:radosgw-admin
 ceph version Development (no_version) tentacle (dev)
 1: bin/radosgw-admin(+0x8f5f86) [0x563cdc8a4f86]
 2: /lib64/libc.so.6(+0x1a050) [0x7f2647427050]
 3: /lib64/libc.so.6(+0x72b54) [0x7f264747fb54]
 4: gsignal()
 5: abort()
 6: /lib64/libc.so.6(+0x185e) [0x7f264740e85e]
 7: /lib64/libc.so.6(+0x120c7) [0x7f264741f0c7]
 8: (RGWDataChangesLog::list_entries(DoutPrefixProvider const*, int, int, std::vector<rgw_data_change_log_entry, std::allocator<rgw_data_change_log_entry> >&, std::basic_string_view<char, std::char_traits<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, bool*, optional_yield)+0x109) [0x563cdc36720b]
 9: main()
 10: /lib64/libc.so.6(+0x3248) [0x7f2647410248]
 11: __libc_start_main()
 12: _start()

Related issues 2 (0 open — 2 closed)

Related to RADOS - Bug #72692: deadlock in MonClient if a version request (e.g. waiting for the latest osdmap) races with a session resetResolvedIlya Dryomov

Actions
Copied to rgw - Backport #72483: tentacle: multisite: datalog listing asserts on out-of-bounds --shard-idResolvedAdam Emerson

Actions

AE Updated by Adam Emerson over 1 year ago Actions #1

  • Assignee set to Adam Emerson

AE Updated by Adam Emerson over 1 year ago Actions #2

  • Status changed from New to In Progress

AE Updated by Adam Emerson over 1 year ago Actions #3

  • Status changed from In Progress to Fix Under Review
  • Pull request ID set to 62770

JI Updated by J. Eric Ivancich over 1 year ago Actions #4

  • Backport set to tentacle

UB Updated by Upkeep Bot over 1 year ago Actions #5

  • Merge Commit set to 3f96a23642b4c904369e8a37da9357da258a526f
  • Fixed In set to v20.3.0-2135-g3f96a23642
  • Upkeep Timestamp set to 2025-08-07T17:40:41+00:00

AE Updated by Adam Emerson over 1 year ago Actions #6

  • Status changed from Fix Under Review to Pending Backport

AE Updated by Adam Emerson over 1 year ago Actions #7

  • Copied to Backport #72483: tentacle: multisite: datalog listing asserts on out-of-bounds --shard-id added

UB Updated by Upkeep Bot over 1 year ago Actions #8

  • Tags (freeform) changed from multisite datalog to multisite datalog backport_processed

ID Updated by Ilya Dryomov over 1 year ago Actions #9

  • Related to Bug #72692: deadlock in MonClient if a version request (e.g. waiting for the latest osdmap) races with a session reset added

AE Updated by Adam Emerson about 1 year ago Actions #10

  • Status changed from Pending Backport to Resolved

UB Updated by Upkeep Bot 3 months ago Actions #11

  • Tags (freeform) changed from multisite datalog backport_processed to multisite, datalog
  • Upkeep Timestamp changed from 2025-08-07T17:40:41+00:00 to 2026-08-28T01:51:14+00:00

UB Updated by Upkeep Bot about 1 month ago Actions #12

  • Released In set to v21.2.0~2312
  • Upkeep Timestamp changed from 2026-08-28T01:51:14+00:00 to 2026-10-24T02:04:13+00:00
Actions

Also available in: PDF Atom