Skip to content

What should be done about non-atomicity of Table.counter_set() #1549

@dhermes

Description

@dhermes

See #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_inc and Table.counter_dec methods for that.

and we just went one step further and just made Table.counter_set() a not implemented method (it raises NotImplementedError when called).

Metadata

Metadata

Assignees

Labels

api: bigtableIssues related to the Bigtable API.type: questionRequest for information or clarification. Not an issue.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions