On 13/01/2016 06:21, Torgeir Veimo wrote:
> Is there any plans to introduce a cluster safe mechanism of providing
> unique counter values?
>
> Most applications where a sequence is used doesn't require full
> sequentiality, but rather a unique number that is easier to memorize /
> write than uuids
Is there any plans to introduce a cluster safe mechanism of providing
unique counter values?
Most applications where a sequence is used doesn't require full
sequentiality, but rather a unique number that is easier to memorize /
write than uuids for humans. So a type similar to mongodbs ObjectId
On 21/12/2015 14:17, Torgeir Veimo wrote:
> Can someone confirm if the atomic counter support code is suitable for
> sequences?
>
I think on Segment it can safely be used but not on a mongo cluster.
What the atomic counter ensure is that the amount of
increments/decrements is consistent from a
Can someone confirm if the atomic counter support code is suitable for
sequences?
https://jackrabbit.apache.org/oak/docs/apidocs/org/apache/jackrabbit/oak/plugins/atomic/AtomicCounterEditor.html
If my reading of the spec is correct, separate sessions will see their
results from the increment