Project

General

Profile

Actions

Bug #77097

closed
JB BS

Clients don't handle turning balanced reads off

Bug #77097: Clients don't handle turning balanced reads off

Added by Jonathan Bailey 6 months ago. Updated 3 months ago.

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

0%

Source:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(RADOS):
Pull request ID:
Tags (freeform):
Fixed In:
v21.3.0-2132-g17fc2b5a95
Released In:
Upkeep Timestamp:
2026-08-28T01:42:13+00:00

Description

The code below is used in Objecter for modifying balanced read behaviour if the config is changed while the client is running.

  auto read_policy = conf.get_val<std::string>("rados_replica_read_policy");
  if (read_policy == "localize") {
    extra_read_flags = CEPH_OSD_FLAG_LOCALIZE_READS;
  } else if (read_policy == "balance") {
    extra_read_flags = CEPH_OSD_FLAG_BALANCE_READS;
  }

It does not have a case for turning balanced reads back off again once it has been turned on, making balanced reads a one way switch until you restart your client.

BS Updated by Bill Scales 4 months ago Actions #1

  • Assignee set to Bill Scales

BS Updated by Bill Scales 4 months ago Actions #2

  • Status changed from New to Fix Under Review
  • Pull request ID set to 70707

RZ Updated by Radoslaw Zarzynski 4 months ago Actions #3

Approved.

RZ Updated by Radoslaw Zarzynski 4 months ago Actions #4

Sent to QA.

RZ Updated by Radoslaw Zarzynski 4 months ago Actions #5

  • Status changed from Fix Under Review to Pending Backport

Merged.

UB Updated by Upkeep Bot 4 months ago Actions #6

  • Tags (freeform) set to backport_processed

UB Updated by Upkeep Bot 4 months ago Actions #7

  • Status changed from Pending Backport to Resolved
  • Merge Commit set to 17fc2b5a95bd69815d97840366b2da18a77af4a5
  • Fixed In set to v21.3.0-2132-g17fc2b5a95
  • Upkeep Timestamp set to 2026-08-18T19:55:29+00:00

UB Updated by Upkeep Bot 3 months ago Actions #8

  • Tags (freeform) deleted (backport_processed)
  • Upkeep Timestamp changed from 2026-08-18T19:55:29+00:00 to 2026-08-28T01:42:13+00:00
Actions

Also available in: PDF Atom