Bug #873
closed
MDS journaler needs to truncate ahead of writes
Added by Greg Farnum about 13 years ago.
Updated over 7 years ago.
Description
As discussed briefly in #805, there is a race condition due to MDS failover where an old MDS could have written log data that the new MDS is not aware of. To deal with this, we need to truncate log objects before we start writing to them.
I think I'll set this up so that it can truncate an arbitrary (configurable) number ahead (and just does the minimum required number on startup) so that we can tune the number of blocks to prevent this impacting performance by blocking logging, which would be sad.
- Translation missing: en.field_story_points set to 3
- Translation missing: en.field_position set to 1
- Translation missing: en.field_position changed from 1 to 534
- Status changed from New to In Progress
- Priority changed from Normal to Low
I've actually done a lot on this but it's all been in bites and nibbles, and given how unlikely it is to actually be a problem I'm reducing the priority.
- Target version changed from v0.26 to v0.27
- Translation missing: en.field_story_points changed from 3 to 5
- Translation missing: en.field_position deleted (
546)
- Translation missing: en.field_position set to 331
- Translation missing: en.field_story_points changed from 5 to 3
- Translation missing: en.field_position deleted (
331)
- Translation missing: en.field_position set to 331
- Translation missing: en.field_position deleted (
331)
- Translation missing: en.field_position set to 331
- Translation missing: en.field_position deleted (
332)
- Translation missing: en.field_position set to 339
- Translation missing: en.field_position deleted (
339)
- Translation missing: en.field_position set to 338
- Target version changed from v0.27 to v0.28
- Translation missing: en.field_position deleted (
351)
- Translation missing: en.field_position set to 4
- Status changed from In Progress to New
- Translation missing: en.field_position deleted (
12)
- Translation missing: en.field_position set to 12
- Translation missing: en.field_position deleted (
13)
- Translation missing: en.field_position set to 2
- Assignee changed from Greg Farnum to Sage Weil
- Status changed from New to Resolved
- Priority changed from Low to Normal
commit:b05f1ba4c46976bd96a1df8a582dffd89860eb34
- Project changed from Ceph to CephFS
- Category deleted (
1)
- Target version deleted (
v0.28)
Bulk updating project=ceph category=mds bugs so that I can remove the MDS category from the Ceph project to avoid confusion.
Also available in: Atom
PDF