• Phoebe Buckheister's avatar
    meta: expect correct owner node ID for lookup-intent stat · d5ec1748
    Phoebe Buckheister authored
    when two clients race to create the same file in a meta-mirrored setup
    only one of them can succeed. the other will have to either fail
    entirely (for exclusive creates) or use the file created by the winning
    client (for non-exclusive creates).
    
    creates are usually accompanied by stat to retrieve important file
    metadata as well. the losing client will see that the file has already
    been created and only attempt to stat the file it has just found.
    during stat it expects the file to be on the wrong node: owner checks
    are done expecting primary-of-group(localNodeID) instead of expecting
    localGroupID. for groups created with the id of their primary server
    this usually succeeds (until failover happens), on others it will fail.
    
    fixes #948
    
    (cherry picked from commit ed46b0cc5e7916632b83cd67e8506573c5b20f0f)
    d5ec1748
Name
Last commit
Last update
.ci Loading commit data...
beegfs_client_devel Loading commit data...
beegfs_client_tests Loading commit data...
beegfs_deeper_lib Loading commit data...
beeond Loading commit data...
beeond_thirdparty Loading commit data...
beeond_thirdparty_gpl Loading commit data...
build Loading commit data...
fhgfs_admon Loading commit data...
fhgfs_admon_gui Loading commit data...
fhgfs_auto_package Loading commit data...
fhgfs_client_module Loading commit data...
fhgfs_common Loading commit data...
fhgfs_common_package Loading commit data...
fhgfs_fsck Loading commit data...
fhgfs_helperd Loading commit data...
fhgfs_java_lib Loading commit data...
fhgfs_meta Loading commit data...
fhgfs_mgmtd Loading commit data...
fhgfs_online_cfg Loading commit data...
fhgfs_opentk_lib Loading commit data...
fhgfs_storage Loading commit data...
fhgfs_thirdparty Loading commit data...
fhgfs_upgrade Loading commit data...
fhgfs_utils Loading commit data...
testing Loading commit data...
.gitignore Loading commit data...
.gitlab-ci.yml Loading commit data...
BUILD.txt Loading commit data...
LICENSE.txt Loading commit data...
Makefile Loading commit data...
admon Loading commit data...
admon_gui Loading commit data...
auto_package Loading commit data...
beegfs-version Loading commit data...
beegfs_admon Loading commit data...
beegfs_admon_gui Loading commit data...
beegfs_auto_package Loading commit data...
beegfs_client_module Loading commit data...
beegfs_common Loading commit data...
beegfs_common_package Loading commit data...
beegfs_ctl Loading commit data...
beegfs_fsck Loading commit data...
beegfs_helperd Loading commit data...
beegfs_java_lib Loading commit data...
beegfs_meta Loading commit data...
beegfs_mgmtd Loading commit data...
beegfs_online_cfg Loading commit data...
beegfs_opentk_lib Loading commit data...
beegfs_storage Loading commit data...
beegfs_thirdparty Loading commit data...
beegfs_upgrade Loading commit data...
beegfs_utils Loading commit data...
client_devel Loading commit data...
client_module Loading commit data...
client_tests Loading commit data...
common Loading commit data...
common_package Loading commit data...
ctl Loading commit data...
deeper_lib Loading commit data...
fsck Loading commit data...
helperd Loading commit data...
java_lib Loading commit data...
meta Loading commit data...
mgmtd Loading commit data...
opentk_lib Loading commit data...
storage Loading commit data...
thirdparty Loading commit data...
upgrade Loading commit data...
utils Loading commit data...