Project

General

Profile

Bug #18488

multisite: segfault after changing value of rgw_data_log_num_shards

Added by Casey Bodley 3 months ago. Updated 3 months ago.

Status:
Pending Backport
Priority:
Normal
Assignee:
Target version:
-
Start date:
01/11/2017
Due date:
% Done:

0%

Source:
Tags:
Backport:
jewel, kraken
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Release:
Needs Doc:
No

Description

If a gateway raises its value of rgw_data_log_num_shards, it will query log info from other zones for shard ids that are out of range. This results in the following segfault:

2016-04-27 10:35:10.652776 7f84727fc700 -1 *** Caught signal (Segmentation fault) **
 in thread 7f84727fc700 thread_name:radosgw

 ceph version 10.2.0-1.el7cp (3a9fba20ec743699b69bd0181dd6c54dc01c64b9)
 1: (()+0x54659a) [0x7f8584caa59a]
 2: (()+0xf100) [0x7f85840e4100]
 3: (()+0x1c48d0) [0x7f857a03b8d0]
 4: (()+0x241c50) [0x7f857a0b8c50]
 5: (()+0x21a448) [0x7f857a091448]
 6: (()+0xc3649) [0x7f8579f3a649]
 7: (()+0xd04a6) [0x7f8579f474a6]
 8: (()+0xd3e72) [0x7f8579f4ae72]
 9: (()+0xd418d) [0x7f8579f4b18d]
 10: (()+0xa7700) [0x7f8579f1e700]
 11: (librados::IoCtx::operate(std::string const&, librados::ObjectReadOperation*, ceph::buffer::list*)+0x46) [0x7f8579ed8af6]
 12: (RGWRados::time_log_info(std::string const&, cls_log_header*)+0xd9) [0x7f8584b7b0a9]
 13: (RGWDataChangesLog::get_info(int, RGWDataChangesLogInfo*)+0x75) [0x7f8584a41ba5]
 14: (RGWOp_DATALog_ShardInfo::execute()+0x11b) [0x7f8584bd03cb]
 15: (process_request(RGWRados*, RGWREST*, RGWRequest*, RGWStreamIO*, OpsLogSocket*)+0xd07) [0x7f8584b30637]
 16: (()+0x1937a) [0x7f858e5cc37a]
 17: (()+0x2330f) [0x7f858e5d630f]
 18: (()+0x252f8) [0x7f858e5d82f8]
 19: (()+0x7dc5) [0x7f85840dcdc5]
 20: (clone()+0x6d) [0x7f85836e728d]


Related issues

Related to Bug #17414: multisite: handle runtime changes to number of mdlog/datalog shards New 09/27/2016
Copied to Backport #18547: jewel: multisite: segfault after changing value of rgw_data_log_num_shards Resolved
Copied to Backport #18548: kraken: multisite: segfault after changing value of rgw_data_log_num_shards In Progress

History

#1 Updated by Casey Bodley 3 months ago

  • Related to Bug #17414: multisite: handle runtime changes to number of mdlog/datalog shards added

#2 Updated by Yehuda Sadeh 3 months ago

  • Status changed from In Progress to Pending Backport

#3 Updated by Nathan Cutler 3 months ago

  • Copied to Backport #18547: jewel: multisite: segfault after changing value of rgw_data_log_num_shards added

#4 Updated by Nathan Cutler 3 months ago

  • Copied to Backport #18548: kraken: multisite: segfault after changing value of rgw_data_log_num_shards added

Also available in: Atom PDF