Skip to contentSkip to conversation

Rados consistency model

DISCUSSION Rutger ter Borg 2 participants 2 messages Dec 18, 2012

lore
Share & tools
lore
#0 lore raw

Dear list,

I have a question regarding concurrency guarantees of Rados. Suppose I have two nodes, say A and B, both running a process, and both using the same rados storage pool, maybe connected through different OSDs. Suppose node A updates an object in the storage pool, and after completion immediately notifies B (through its own messaging layer) that that specific object has been updated. Then, can I assume that, if B re-reads that object, it will always get the updated one? If not, what would be the recommended way of notifying B?

IOW, what kind of consistency model should I assume?

Thanks,

Rutger

#1 lore raw

You can expect read-after-write on any object. That is, once the write is complete, any subsequent reader will see the result. -Sam

Quoted 23 lines · Rutger ter Borg

Dear list,

I have a question regarding concurrency guarantees of Rados. Suppose I have two nodes, say A and B, both running a process, and both using the same rados storage pool, maybe connected through different OSDs. Suppose node A updates an object in the storage pool, and after completion immediately notifies B (through its own messaging layer) that that specific object has been updated. Then, can I assume that, if B re-reads that object, it will always get the updated one? If not, what would be the recommended way of notifying B?

IOW, what kind of consistency model should I assume?

Thanks,

Rutger

--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html