Implement blockstore rollback operation
Rollback operation is required for the primary OSD to kill unstable object versions in OSD peers so they don't occupy journal space
This commit is contained in:
@@ -64,6 +64,8 @@ struct __attribute__((__packed__)) osd_op_secondary_rw_t
|
||||
struct __attribute__((__packed__)) osd_reply_secondary_rw_t
|
||||
{
|
||||
osd_reply_header_t header;
|
||||
// for writes: assigned version number
|
||||
uint64_t version;
|
||||
};
|
||||
|
||||
// delete object on the secondary OSD
|
||||
@@ -79,6 +81,7 @@ struct __attribute__((__packed__)) osd_op_secondary_del_t
|
||||
struct __attribute__((__packed__)) osd_reply_secondary_del_t
|
||||
{
|
||||
osd_reply_header_t header;
|
||||
uint64_t version;
|
||||
};
|
||||
|
||||
// sync to the secondary OSD
|
||||
|
||||
Reference in New Issue
Block a user