summaryrefslogtreecommitdiffstats
path: root/tests/bugs/distribute/bug-1786679.t
Commit message (Collapse)AuthorAgeFilesLines
* dht: Fix stale-layout and create issueSusant Palai2020-02-091-0/+69
Problem: With lookup-optimize set to on by default, a client with stale-layout can create a new file on a wrong subvol. This will lead to possible duplicate files if two different clients attempt to create the same file with two different layouts. Solution: Send in-memory layout to be cross checked at posix before commiting a "create". In case of a mismatch, sync the client layout with that of the server and attempt the create fop one more time. test: Manual, testcase(attached) fixes: bz#1786679 Change-Id: Ife0941f105113f1c572f4363cbcee65e0dd9bd6a Signed-off-by: Susant Palai <spalai@redhat.com>