Project

General

Profile

Actions

Feature #53746

open

allow reading from replicas/shards less than min_size

Added by c sights over 2 years ago. Updated over 1 year ago.

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

0%

Source:
Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:

Description

Hello all,
It would be a nice improvement to Ceph to allow reading from replicas/shards which are less than min_size (but not 0).

At the moment the documentation accurately says "min_size - Sets the minimum number of replicas required for I/O." This means writes and reads.

However, AFAIK there should be no data corruption concerns with READING when replicas/shards are less than min_size.

Also, it would make the cluster much more available under some circumstances. In our case a drive failure and node failure occurred at the same time with 3 replicas and min_size 2 caused some files to be inaccessible for days. (We have large drives relative to the network speed.) Being able to access these files read-only with the remaining replica would have been splendid.

Thanks for your work!
C.

Actions

Also available in: Atom PDF