Project

General

Profile

Actions

Bug #65086

open

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 about 1 month ago. Updated about 1 month ago.

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

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(RADOS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):

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 1 (1 open0 closed)

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

Actions
Actions #1

Updated by Samuel Just about 1 month ago

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

Updated by Samuel Just about 1 month ago

  • Description updated (diff)
Actions

Also available in: Atom PDF