Project

General

Profile

Actions

Bug #65085

closed
SJ SJ

rados: replica mlcod tends to lag by two cycles rather than one limiting replica reads

Bug #65085: rados: replica mlcod tends to lag by two cycles rather than one limiting replica reads

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:28+00:00

Description

The replica and the primary populate RepModify::last_complete and RepGather::pg_local_last_complete prior to doing PrimaryLogPG::log_operation. This causes the last_complete_ondisk value and consequently min_last_complete_ondisk to lag by an additional write cycle (mlcod on replicas will tend to lag last_update by two versions rather than one). The practical consequence of this is mainly the objects written in the last two log versions will be unavailable for replica read rather than the last one.

See https://tracker.ceph.com/issues/65013 for debugging process/discussion.


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

LF Updated by Laura Flores over 2 years ago Actions #4

@Samuel Just this has the wrong PR id.

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

  • Pull request ID changed from 66316 to 56677

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

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

  • Status changed from Fix Under Review to Resolved

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

  • 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 #9

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

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

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

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

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

Also available in: PDF Atom