During directory creations attempted by geo-replication, though an mkdir fails with EEXIST, the directory might not have a complete layout for sometime. This can happen if there is a parallel mkdir attempt on the same name. Till the other mkdir completes, layout is not set on the directory. Without a layout, entry creations within that directory can fail.
A new directory creation fails with "Directory exists". However, creations within that directory can fail.
Set the layout on those subvolumes where directory is already created by the parallel mkdir before failing the current mkdir with EEXIST.
This is not a complete fix as the other mkdir might not have created directories on all subvolumes. However, on those subvolumes, where directory is already created, the layout is set. Any files/directory names which hash to these subvolumes on which layout is set, can be c
an be created successfully.