[LU-10448] policy to pick a primary for mirrored write Created: 03/Jan/18 Updated: 02/Mar/18 Resolved: 14/Feb/18 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.11.0 |
| Fix Version/s: | Lustre 2.11.0 |
| Type: | Improvement | Priority: | Major |
| Reporter: | Zhenyu Xu | Assignee: | Zhenyu Xu |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | FLR2 | ||
| Issue Links: |
|
||||||||||||||||
| Rank (Obsolete): | 9223372036854775807 | ||||||||||||||||
| Description |
|
For a mirrored file, when it is written at the first time, the policy to pick a replica as primary is primitive, either it just chooses the first replica or a random one. A policy function should be defined for replica choosing. At least it should avoid the replicas with unavailable OSTs. |
| Comments |
| Comment by Andreas Dilger [ 03/Jan/18 ] |
|
For 2.11 at a very minimum it should avoid selecting replicas that are not available. Otherwise FLR is mostly not useful in case of failures? |
| Comment by Gerrit Updater [ 04/Jan/18 ] |
|
Bobi Jam (bobijam@hotmail.com) uploaded a new patch: https://review.whamcloud.com/30711 |
| Comment by Jinshan Xiong (Inactive) [ 05/Jan/18 ] |
|
Andreas - this is about the policy for picking a replica for write. FLR is still useful for read w/o this feature. |
| Comment by Andreas Dilger [ 19/Jan/18 ] |
|
This is needed for 2.11 so that writes don't pick unavailable replicas. |
| Comment by Gerrit Updater [ 14/Feb/18 ] |
|
Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/30711/ |
| Comment by Minh Diep [ 14/Feb/18 ] |
|
Landed for 2.11 |