Fix possible duplication of ping & op message IDs

This commit is contained in:
Vitaliy Filippov
2022-12-04 00:16:47 +03:00
parent c71e5e7bbd
commit 7a71e7ef01
3 changed files with 4 additions and 5 deletions
+1 -1
View File
@@ -196,7 +196,7 @@ void cluster_client_t::send_list(inode_list_osd_t *cur_list)
.sec_list = {
.header = {
.magic = SECONDARY_OSD_OP_MAGIC,
.id = op_id++,
.id = next_op_id(),
.opcode = OSD_OP_SEC_LIST,
},
.list_pg = cur_list->pg->pg_num,