Commit 0cffbb17 authored by Michael Davis's avatar Michael Davis
Browse files

[migration] Removes workaround for gRPC container mode bug (fixed)

parent 1633a022
......@@ -237,15 +237,12 @@ bool EosImportDirs::compareMD(const eos::rpc::ContainerMdProto &dir)
if(dir.id() != remote_dir.cmd().id() ||
dir.uid() != remote_dir.cmd().uid() ||
dir.gid() != remote_dir.cmd().gid() ||
dir.mode() != remote_dir.cmd().mode() ||
dir.ctime().sec() != remote_dir.cmd().ctime().sec() ||
dir.name() != remote_dir.cmd().name() ||
(dir.path() + '/') != remote_dir.cmd().path()) {
return false;
}
if(dir.mode() != remote_dir.cmd().mode()) {
// EOS gRPC bug prevents us reading back the file mode
std::cerr << "Warning: file " << dir.id() << ": injected mode=" << dir.mode() <<", read back mode=" << remote_dir.cmd().mode() << std::endl;
}
// Check xattrs
for(const auto &xattr : dir.xattrs()) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment