unique id generation
in porting a traditional rdbms based application to membase involves a number of challenges, one of the tasks that rdbms typically can do is to generate unique ids. this remains revelant in a heterogenous environment. one solution i can think of is using a "memcached" counter (incr/decr) to provide this functionality, i'm wondering in the context of HA membase, is this a good solution?
to extrapolate, the real underlying question i suppose is: if an atomic operation is completed on the host machine, is it guaranteed to be available on a replica in case failover happens?
appreciate any input/advice/comments.