* Rados consistency model
@ 2012-12-18 8:51 Rutger ter Borg
2012-12-18 22:22 ` Samuel Just
0 siblings, 1 reply; 2+ messages in thread
From: Rutger ter Borg @ 2012-12-18 8:51 UTC (permalink / raw)
To: ceph-devel
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Rados consistency model
2012-12-18 8:51 Rados consistency model Rutger ter Borg
@ 2012-12-18 22:22 ` Samuel Just
0 siblings, 0 replies; 2+ messages in thread
From: Samuel Just @ 2012-12-18 22:22 UTC (permalink / raw)
To: Rutger ter Borg; +Cc: ceph-devel@vger.kernel.org
You can expect read-after-write on any object. That is, once the
write is complete, any subsequent reader will see the result.
-Sam
On Tue, Dec 18, 2012 at 12:51 AM, Rutger ter Borg <rutger@terborg.net> wrote:
>
> 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 majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-12-18 22:46 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-18 8:51 Rados consistency model Rutger ter Borg
2012-12-18 22:22 ` Samuel Just
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.