What should be done about non-atomicity of Table.counter_set()
See original GitHub issueSee #1541 for discussion.
There is a note from the HappyBase source code
Note that application code should never store a incremented or decremented counter value directly; use the atomic
Table.counter_incandTable.counter_decmethods for that.
and we just went one step further and just made Table.counter_set() a not implemented method (it raises NotImplementedError when called).
Issue Analytics
- State:
- Created 8 years ago
- Comments:9 (9 by maintainers)
Top Results From Across the Web
No results found
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

From #1989 just now: @garye wrote:
I took it back over on #1989, see if you think that makes sense.