Re: Atomic update of rados objects
It seems that store_user_info() and read_user_info() do SysObj’s write/read, which use librados::ObjectWriteOperation and librados::ObjectReadOperation, which are supposed to be atomic. How could read_user_info() get either partial or inconsistent content, such as the old xatters with newer content? Yixin
you're right that ObjectWriteOperation is atomic. on what ceph branch are you seeing this behavior? On Thu, Oct 19, 2023 at 10:29 AM Yixin Jin <yjin77@yahoo.ca> wrote:
It seems that store_user_info() and read_user_info() do SysObj’s write/read, which use librados::ObjectWriteOperation and librados::ObjectReadOperation, which are supposed to be atomic. How could read_user_info() get either partial or inconsistent content, such as the old xatters with newer content?
Yixin _______________________________________________ Dev mailing list -- dev@ceph.io To unsubscribe send an email to dev-leave@ceph.io
participants (2)
-
Casey Bodley
-
Yixin Jin