Well, this did come from a graph domain.
However, I think this could be a common problem when you need to update
something according to the original value where a simple checkAndPut on single
value won't work.
Another example, if you want to implement something like UPDATE, you want to
know
Maybe this problem is more in the graph domain? I know that there are projects
aimed at representing graphs at large scale better. I'm saying this since you
have one ID referencing another ID (using target ID).
On May 10, 2013, at 11:47 AM, Liu, Raymond raymond@intel.com wrote:
Thanks,
Thanks, seems there are no other better solution?
Really need a GetAndPut atomic op here ...
You can do this by looping over a checkAndPut operation until it succeeds.
-Mike
On Thu, May 9, 2013 at 8:52 PM, Liu, Raymond raymond@intel.com
wrote:
Any suggestion?
Hi
Any suggestion?
Hi
Say, I have four field for one record :id, status, targetid, and count.
Status is on and off, target could reference other id, and count will
record
the number of on status for all targetid from same id.
The record could be add / delete, or
You can do this by looping over a checkAndPut operation until it succeeds.
-Mike
On Thu, May 9, 2013 at 8:52 PM, Liu, Raymond raymond@intel.com wrote:
Any suggestion?
Hi
Say, I have four field for one record :id, status, targetid, and count.
Status is on and off, target
Btw. Is that possible or practice to implement something like PutAndGet
which put in new row and return the old row back to client been implemented?
That would help a lot for my case.
Oh, I realized that it is better to be named as GetAndMutate, say Mutate
anyway, but return the