04-26-2017 10:50 PM
Dose Kudu support increment update?
For example, we have a table with two field, browser and visit count :
And then, we got a new visit from firfox, the table will be update to:
we want to do this update by increment operation, ranther then read the visitCount, add one and write it back.
Thanks in advance.
Solved! Go to Solution.
04-27-2017 07:50 AM
Kudu currently doesn't support atomic increments or any kind of operation that reads a value and makes a decision based on that value with the guarantee that it won't change.
06-19-2017 03:21 AM
I think it is just because how Kudu is implemented. The visit count is not the primary key of the table. Nor the browser column. For atomic incrementing you have to have the data in one location on one server.