[Bugs] [Bug 1486063] 0 kByte file not self-healing with replica 2 + arbiter
bugzilla at redhat.com
bugzilla at redhat.com
Thu Sep 14 12:00:56 UTC 2017
https://bugzilla.redhat.com/show_bug.cgi?id=1486063
Ravishankar N <ravishankar at redhat.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
--- Comment #1 from Ravishankar N <ravishankar at redhat.com> ---
> Steps to Reproduce:
> 1. Ask Ravi
1. Create a zero-byte file (`touch file`) on an arbiter volume via fuse
mount.
2. Attach gdb to mount process, put break points before winding pre-op and
write.
3. echo "hello" >>file
4. after pre-op is stack_wound on all bricks, `pkill gluster && pkill gdb`
5. Now we have the dirty bit set (and no pending bits) for the file on all
bricks and an entry inside .glusterfs/indices/dirty.
6. restart all gluster processes.
7. `heal info` will show the entry as needing heal.
8. Heal won't complete because data self-heal algo picks up the brick with
latest ctime as source. In this case arbiter is likely the source because the
pre-op in step-4 happened last on the arbiter.
--
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=9n3g94M9cd&a=cc_unsubscribe
More information about the Bugs
mailing list