A.ensure(!props.isEmpty(), "!props.isEmpty()");
if (log.isDebugEnabled())
log.debug("Set file properties [path=" + path + ", props=" + props + ']');
GridGgfsMode mode = modeRslvr.resolveMode(path);
if (mode == PROXY)
throw new GridException("PROXY mode cannot be used in GGFS directly: " + path);
else if (mode != PRIMARY) {
assert mode == DUAL_SYNC || mode == DUAL_ASYNC;