Project

General

Profile

Actions

Feature #53957

open

rgw: allow configuration of bi tx timeout; add instrumentation

Added by J. Eric Ivancich about 2 years ago. Updated over 1 year ago.

Status:
Pending Backport
Priority:
Normal
Target version:
-
% Done:

0%

Source:
Tags:
backport_processed
Backport:
quincy,pacific,octopus
Reviewed:
Affected Versions:
Pull request ID:

Description

Allow the bucket index transaction expiration time to be configured. Adds the configuration option rgw_pending_bucket_index_op_expiration, which is the number of seconds before it's considered expired. Prior to this PR the expiration was 120 seconds in most cases, although a non-zero value in `rgw_bucket_dir_header` could override it (functionality that's used in `radosgw-admin bucket check ...` .

Because there are suspected issues surrounding bucket index transactions, extra instrumentation is added to the three CLS functions that manage those transactions. This instrumentation is turned on by setting another new boolean configuration option rgw_bucket_index_transaction_instrumentation that controls whether this instrumentation is used. When it is on, all log entries surrounding bucket index transactions are tagged with the substring "BITX".

Because these two configuraiton options are needed RGW's CLS (objclass) code, this PR also adds the function `cls_get_config` to the CLS interface.

Note: even though these options are for RGW (and begin with "rgw_"), they need to be placed in a configuration section visible to CLS code. The "[global]" section works, for example.


Related issues 3 (1 open2 closed)

Copied to rgw - Backport #55070: quincy: rgw: allow configuration of bi tx timeout; add instrumentationNewJ. Eric IvancichActions
Copied to rgw - Backport #55071: octopus: rgw: allow configuration of bi tx timeout; add instrumentationRejectedActions
Copied to rgw - Backport #55072: pacific: rgw: allow configuration of bi tx timeout; add instrumentationRejectedJ. Eric IvancichActions
Actions #1

Updated by J. Eric Ivancich about 2 years ago

  • Status changed from In Progress to Fix Under Review
Actions #2

Updated by J. Eric Ivancich about 2 years ago

  • Description updated (diff)
Actions #3

Updated by J. Eric Ivancich about 2 years ago

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

Updated by Backport Bot about 2 years ago

  • Copied to Backport #55070: quincy: rgw: allow configuration of bi tx timeout; add instrumentation added
Actions #5

Updated by Backport Bot about 2 years ago

  • Copied to Backport #55071: octopus: rgw: allow configuration of bi tx timeout; add instrumentation added
Actions #6

Updated by Backport Bot about 2 years ago

  • Copied to Backport #55072: pacific: rgw: allow configuration of bi tx timeout; add instrumentation added
Actions #7

Updated by Backport Bot over 1 year ago

  • Tags set to backport_processed
Actions

Also available in: Atom PDF