Skip to content

Instantly share code, notes, and snippets.

@PharkMillups
Created November 12, 2010 23:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save PharkMillups/674903 to your computer and use it in GitHub Desktop.
Save PharkMillups/674903 to your computer and use it in GitHub Desktop.
12:28 <andrewoswald> hey all, curious whether it's possible to actually
store a value's vclock within its own contents?
12:29 <benblack> what is the problem you are trying to solve?
12:30 <andrewoswald> providing a unique rev and not necessarily reinventing things.
12:30 <benblack> i suggest just using a hash function to generate unique ids, then
12:30 <benblack> rather than trying to tie things to vclocks
12:33 <andrewoswald> benblack: thanks, I'll chew on that.
12:33 <benblack> works great
12:33 <benblack> and very common, not just in riak
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment