Project

General

Profile

Actions

Bug #70882

closed

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

Added by Casey Bodley 12 months ago. Updated 6 months ago.

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

0%

Source:
Backport:
tentacle
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Tags (freeform):
multisite datalog backport_processed
Fixed In:
v20.3.0-2135-g3f96a23642
Released In:
Upkeep Timestamp:
2025-08-07T17:40:41+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 open2 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 EmersonActions
Actions #1

Updated by Adam Emerson 12 months ago

  • Assignee set to Adam Emerson
Actions #2

Updated by Adam Emerson 12 months ago

  • Status changed from New to In Progress
Actions #3

Updated by Adam Emerson 12 months ago

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

Updated by J. Eric Ivancich 11 months ago

  • Backport set to tentacle
Actions #5

Updated by Upkeep Bot 8 months ago

  • 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
Actions #6

Updated by Adam Emerson 8 months ago

  • Status changed from Fix Under Review to Pending Backport
Actions #7

Updated by Adam Emerson 8 months ago

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

Updated by Upkeep Bot 8 months ago

  • Tags (freeform) changed from multisite datalog to multisite datalog backport_processed
Actions #9

Updated by Ilya Dryomov 7 months ago

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

Updated by Adam Emerson 6 months ago

  • Status changed from Pending Backport to Resolved
Actions

Also available in: Atom PDF