Add WRITE_STABLE to the secondary OSD for the upcoming replication support

This commit is contained in:
Vitaliy Filippov
2020-09-01 16:18:58 +03:00
parent 2e8c69fc5b
commit 3932c9b2e2
10 changed files with 63 additions and 44 deletions
+1 -1
View File
@@ -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);