Couchbase - what happens to old documents on a node when it comes back online?
<p>Suppose I have a Couchbase cluster with 2 data nodes: 1 and 2.</p>

<p>Document X is active on node 1 and replicated on node 2.</p>

<p>Suppose node 1 goes down, and document X is promoted to 'active' on node 2. Node 1 is down for a while; in the meantime, lots of changes are made to document X.</p>

<p>Some time later, node 1 comes back online. Remember that document X was 'active' in node 1.</p>

<p>What happens? It seems like Document X would be active on both nodes. Can Couchbase handle this conflict itself or do I have to do anything in my application code to resolve it?</p>