Project

General

Profile

Actions

Bug #65086

closed
SJ SJ

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

Bug #65086: 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 over 2 years ago. Updated about 1 year ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
Target version:
Due date:
% 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 open — 2 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

SJ Updated by Samuel Just over 2 years ago Actions #1

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

SJ Updated by Samuel Just over 2 years ago Actions #2

  • Description updated (diff)

SJ Updated by Samuel Just over 2 years ago Actions #3

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

SJ Updated by Samuel Just over 2 years ago Actions #4

  • Pull request ID changed from 66316 to 56677

MB Updated by Matan Breizman about 2 years ago Actions #5

SJ Updated by Samuel Just about 2 years ago Actions #6

  • Status changed from Fix Under Review to Resolved

KS Updated by Konstantin Shalygin almost 2 years ago Actions #7

  • 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

UB Updated by Upkeep Bot over 1 year ago Actions #8

  • 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

UB Updated by Upkeep Bot over 1 year ago Actions #9

  • 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

UB Updated by Upkeep Bot about 1 year ago Actions #10

  • 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: PDF Atom