Actions
Bug #77097
closed
JB
BS
Clients don't handle turning balanced reads off
Bug #77097:
Clients don't handle turning balanced reads off
Due date:
% Done:
0%
Source:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(RADOS):
Pull request ID:
Tags (freeform):
Merge Commit:
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
- Assignee set to Bill Scales
BS Updated by Bill Scales 4 months ago
- Status changed from New to Fix Under Review
- Pull request ID set to 70707
RZ Updated by Radoslaw Zarzynski 4 months ago
Approved.
RZ Updated by Radoslaw Zarzynski 4 months ago
Sent to QA.
RZ Updated by Radoslaw Zarzynski 4 months ago
- Status changed from Fix Under Review to Pending Backport
Merged.
UB Updated by Upkeep Bot 4 months ago
- Tags (freeform) set to backport_processed
UB Updated by Upkeep Bot 4 months ago
- 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
- 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