Bug 1144088
Summary: | dist-gep-rep: Files on master and slave are not in sync after file renames on master volume. | ||
---|---|---|---|
Product: | [Red Hat Storage] Red Hat Gluster Storage | Reporter: | shilpa <smanjara> |
Component: | geo-replication | Assignee: | Saravanakumar <sarumuga> |
Status: | CLOSED ERRATA | QA Contact: | Rahul Hinduja <rhinduja> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | rhgs-3.0 | CC: | aavati, annair, avishwan, csaba, nlevinki, rhinduja, vbhat |
Target Milestone: | --- | ||
Target Release: | RHGS 3.1.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | rename, consistency | ||
Fixed In Version: | glusterfs-3.7.0-2.el6rhs | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2015-07-29 04:36:21 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 1202842, 1223636 |
Description
shilpa
2014-09-18 15:40:33 UTC
Multiple Renames ---------------- If renamed files fall into other bricks, processing changelogs across brick nodes is not sequential. Ordering of execution is not guaranteed when changelogs processed parallel. For example, CREATE f1 RENAME f1 f2 RENAME f2 f1 f1 falls in brick1 and f2 falls in brick2, changelogs are Brick1 Changelog will have, CREATE f1 RENAME f2 f1 Brick2 Changelog will have, RENAME f1 f2 If Brick 1 changelogs executed first and then Brick 2, Slave will have f2 instead of f1. Verified with build: glusterfs-3.7.1-7.el6rhs.x86_64 Master Client1: =============== [root@wingo master]# for i in {1..100};do touch mb$i;done [root@wingo master]# Master Client2: =============== [root@client master]# for i in {1..100};do mv mb$i nc$i;done [root@client master]# for i in {1..100};do mv mb$i nc$i;done [root@client master]# for i in {1..100};do mv mb$i nc$i;done [root@client master]# for i in {1..100};do mv mb$i nc$i;done [root@client master]# for i in {1..100};do mv mb$i nc$i;done [root@client master]# for i in {1..100};do mv mb-1$i nc$i;done [root@client master]# for i in {1..100};do mv mb-1$i nc-1$i;done [root@client master]# for i in {1..100};do mv mb-2$i nc-2$i;done [root@client master]# Master Client3: =============== [root@dhcp35-63 master]# for i in {1..100};do mv nc$i mb$i;done [root@dhcp35-63 master]# for i in {1..100};do mv nc$i mb$i;done [root@dhcp35-63 master]# for i in {1..100};do mv nc$i mb$i;done [root@dhcp35-63 master]# for i in {1..100};do mv nc$i mb-1$i;done [root@dhcp35-63 master]# for i in {1..100};do mv nc$i mb-1$i;done [root@dhcp35-63 master]# for i in {1..100};do mv nc-1$i mb-2$i;done [root@dhcp35-63 master]# for i in {1..100};do mv nc-2$i mb-3$i;done [root@dhcp35-63 master]# After the files are synced: ============================ [root@wingo master]# ls mb-31 mb-318 mb-327 mb-336 mb-345 mb-354 mb-363 mb-372 mb-381 mb-390 mb-310 mb-319 mb-328 mb-337 mb-346 mb-355 mb-364 mb-373 mb-382 mb-391 mb-3100 mb-32 mb-329 mb-338 mb-347 mb-356 mb-365 mb-374 mb-383 mb-392 mb-311 mb-320 mb-33 mb-339 mb-348 mb-357 mb-366 mb-375 mb-384 mb-393 mb-312 mb-321 mb-330 mb-34 mb-349 mb-358 mb-367 mb-376 mb-385 mb-394 mb-313 mb-322 mb-331 mb-340 mb-35 mb-359 mb-368 mb-377 mb-386 mb-395 mb-314 mb-323 mb-332 mb-341 mb-350 mb-36 mb-369 mb-378 mb-387 mb-396 mb-315 mb-324 mb-333 mb-342 mb-351 mb-360 mb-37 mb-379 mb-388 mb-397 mb-316 mb-325 mb-334 mb-343 mb-352 mb-361 mb-370 mb-38 mb-389 mb-398 mb-317 mb-326 mb-335 mb-344 mb-353 mb-362 mb-371 mb-380 mb-39 mb-399 [root@wingo master]# At Slave: ========= [root@wingo slave]# ls mb-31 mb-318 mb-327 mb-336 mb-345 mb-354 mb-363 mb-372 mb-381 mb-390 mb-310 mb-319 mb-328 mb-337 mb-346 mb-355 mb-364 mb-373 mb-382 mb-391 mb-3100 mb-32 mb-329 mb-338 mb-347 mb-356 mb-365 mb-374 mb-383 mb-392 mb-311 mb-320 mb-33 mb-339 mb-348 mb-357 mb-366 mb-375 mb-384 mb-393 mb-312 mb-321 mb-330 mb-34 mb-349 mb-358 mb-367 mb-376 mb-385 mb-394 mb-313 mb-322 mb-331 mb-340 mb-35 mb-359 mb-368 mb-377 mb-386 mb-395 mb-314 mb-323 mb-332 mb-341 mb-350 mb-36 mb-369 mb-378 mb-387 mb-396 mb-315 mb-324 mb-333 mb-342 mb-351 mb-360 mb-37 mb-379 mb-388 mb-397 mb-316 mb-325 mb-334 mb-343 mb-352 mb-361 mb-370 mb-38 mb-389 mb-398 mb-317 mb-326 mb-335 mb-344 mb-353 mb-362 mb-371 mb-380 mb-39 mb-399 [root@wingo slave]# Moving the bug to verified state. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHSA-2015-1495.html |