summaryrefslogtreecommitdiffstats
path: root/tests/bugs/distribute
diff options
context:
space:
mode:
authorAravinda VK <avishwan@redhat.com>2016-02-29 14:05:54 +0530
committerAravinda VK <avishwan@redhat.com>2016-03-09 03:02:01 -0800
commit15a5f7db3b442e67030309b4a1dc5e33be2fbcb5 (patch)
tree1c0ff72d1fca96fcf581b6285f401cc7fd6d90ce /tests/bugs/distribute
parentbf03543388c39e4b5162ff5866ba4754fb4fdfc1 (diff)
geo-rep: Fix Entry Creation issue with non root UID/GID
During entry_ops RENAME Geo-rep sends stat info along with the recorded info from Changelog. In Slave side if Source file exists Geo-rep renames to Target file by calling os.rename. If source file does not exists, it tries to create Target file directly using available stat info from Master. If UID and GID are different in Master for that file then stat info will have different UID/GID during Create. Geo-rep gets EACCES when it tries to create a new entry using gfid-access with different UID/GID. With this patch, Entry creation with different UID/GID is split into two operations. Create Entry with UID:0 and GID:0 and then set UID/GID. Change-Id: I4987e3a205d8513c06fa66198cde145a87003a01 BUG: 1313303 Signed-off-by: Aravinda VK <avishwan@redhat.com> Reviewed-on: http://review.gluster.org/13542 Smoke: Gluster Build System <jenkins@build.gluster.com> NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org> CentOS-regression: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Kotresh HR <khiremat@redhat.com>
Diffstat (limited to 'tests/bugs/distribute')
0 files changed, 0 insertions, 0 deletions