diff options
author | Kotresh HR <khiremat@redhat.com> | 2018-07-15 15:03:40 -0400 |
---|---|---|
committer | Kotresh HR <khiremat@redhat.com> | 2018-07-20 12:58:04 +0000 |
commit | 8d7be4ac0cf5ace9de3f340f411f1aed21f96414 (patch) | |
tree | 30c3be6612228dffba88db010e2a5f119e6c7dbe /xlators/features/bit-rot/src/bitd/bit-rot.c | |
parent | ea4964df6f173b17eaf4e9048f55cfe969907663 (diff) |
geo-rep: Fix issues with gfid conflict handling
1. MKDIR/RMDIR is recorded on all bricks. So if
one brick succeeds creating it, other bricks
should ignore it. But this was not happening.
The fix rename of directories in hybrid crawl,
was trying to rename the directory to itself
and in the process crashing with ENOENT if the
directory is removed.
2. If file is created, deleted and a directory is
created with same name, it was failing to sync.
Again the issue is around the fix for rename
of directories in hybrid crawl. Fixed the same.
If the same case was done with hardlink present
for the file, it was failing. This patch fixes
that too.
fixes: bz#1598884
Change-Id: I6f3bca44e194e415a3d4de3b9d03cc8976439284
Signed-off-by: Kotresh HR <khiremat@redhat.com>
Diffstat (limited to 'xlators/features/bit-rot/src/bitd/bit-rot.c')
0 files changed, 0 insertions, 0 deletions