Project

General

Profile

Actions

Bug #18488

closed

multisite: segfault after changing value of rgw_data_log_num_shards

Added by Casey Bodley over 7 years ago. Updated almost 7 years ago.

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

0%

Source:
Tags:
Backport:
jewel, kraken
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

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 3 (1 open2 closed)

Related to rgw - Bug #17414: multisite: handle runtime changes to number of mdlog/datalog shardsNewCasey Bodley09/27/2016

Actions
Copied to rgw - Backport #18547: jewel: multisite: segfault after changing value of rgw_data_log_num_shardsResolvedNathan CutlerActions
Copied to rgw - Backport #18548: kraken: multisite: segfault after changing value of rgw_data_log_num_shardsResolvedNathan CutlerActions
Actions #1

Updated by Casey Bodley over 7 years ago

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

Updated by Yehuda Sadeh over 7 years ago

  • Status changed from In Progress to Pending Backport
Actions #3

Updated by Nathan Cutler over 7 years ago

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

Updated by Nathan Cutler over 7 years ago

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

Updated by Nathan Cutler almost 7 years ago

  • Status changed from Pending Backport to Resolved
Actions

Also available in: Atom PDF