Project

General

Profile

Actions

Bug #65086

closed

rados: replicas do not initialize their mlcod value upon activation, replica reads are unavailable until the pg has seen at least one write

Added by Samuel Just almost 2 years ago. Updated 5 months ago.

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

100%

Source:
Development
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(RADOS):
OSD
Pull request ID:
Tags (freeform):
Fixed In:
v19.3.0-5934-g048ce81f45
Released In:
v20.2.0~1668
Upkeep Timestamp:
2025-11-01T01:19:27+00:00

Description

  MDS=0 MGR=1 OSD=3 MON=1 ../src/vstart.sh --without-dashboard -X --redirect-output --debug -n --no-restart --osds-per-host 1
  ./bin/ceph osd primary-affinity 0 0
  ./bin/ceph osd primary-affinity 1 0
  ./bin/ceph osd pool create rbd 64 64
  ./bin/ceph osd pool set rbd size 3
  ./bin/rbd create rbd/image --size 4G
  ./bin/rbd bench --io-type write --io-pattern rand --image rbd/image --io-threads 16 --io-total 250M
  ./bin/ceph osd down 0
  ./bin/rbd bench --io-type read --io-pattern rand --image rbd/image --io-threads 16 --io-total=100M --crush_location "host=$(hostname)-0" --rados_replica_read_policy=localize

All reads will be bounced to the primary after osd.0 immediately comes back up.


Related issues 2 (0 open2 closed)

Related to RADOS - Bug #65013: replica_read not available on most recently updated objects in each PGResolvedSamuel Just

Actions
Related to crimson - Feature #68828: Support MSG_OSD_PG_PCTResolvedSamuel Just

Actions
Actions #1

Updated by Samuel Just almost 2 years ago

  • Related to Bug #65013: replica_read not available on most recently updated objects in each PG added
Actions #2

Updated by Samuel Just almost 2 years ago

  • Description updated (diff)
Actions #3

Updated by Samuel Just over 1 year ago

  • Status changed from New to Fix Under Review
  • Pull request ID set to 66316
Actions #4

Updated by Samuel Just over 1 year ago

  • Pull request ID changed from 66316 to 56677
Actions #5

Updated by Matan Breizman over 1 year ago

Actions #6

Updated by Samuel Just over 1 year ago

  • Status changed from Fix Under Review to Resolved
Actions #7

Updated by Konstantin Shalygin about 1 year ago

  • Assignee set to Samuel Just
  • Target version set to v20.0.0
  • % Done changed from 0 to 100
  • Source set to Development
  • Component(RADOS) OSD added
Actions #8

Updated by Upkeep Bot 8 months ago

  • Merge Commit set to 048ce81f45a4af62c7a2712abe4ec5ce7b09d278
  • Fixed In set to v19.3.0-5934-g048ce81f45a
  • Upkeep Timestamp set to 2025-07-11T14:11:36+00:00
Actions #9

Updated by Upkeep Bot 8 months ago

  • Fixed In changed from v19.3.0-5934-g048ce81f45a to v19.3.0-5934-g048ce81f45
  • Upkeep Timestamp changed from 2025-07-11T14:11:36+00:00 to 2025-07-14T23:10:02+00:00
Actions #10

Updated by Upkeep Bot 5 months ago

  • Released In set to v20.2.0~1668
  • Upkeep Timestamp changed from 2025-07-14T23:10:02+00:00 to 2025-11-01T01:19:27+00:00
Actions

Also available in: Atom PDF