Add WRITE_STABLE to the secondary OSD for the upcoming replication support
This commit is contained in:
+1
-1
@@ -141,7 +141,7 @@ void run_stub(int peer_fd)
|
||||
if (r < op.sec_rw.len)
|
||||
break;
|
||||
}
|
||||
else if (op.hdr.opcode == OSD_OP_SEC_WRITE)
|
||||
else if (op.hdr.opcode == OSD_OP_SEC_WRITE || op.hdr.opcode == OSD_OP_SEC_WRITE_STABLE)
|
||||
{
|
||||
buf = malloc(op.sec_rw.len);
|
||||
r = read_blocking(peer_fd, buf, op.sec_rw.len);
|
||||
|
||||
Reference in New Issue
Block a user