Hey, This idea I'd still in the rough so bear with me a little. Couchdb is an ap system... And stores the result of both docs during a conflict. We have update functions as a way to do incremental updates. And show functions to do a transform on a doc before sending it. Can we have union functions to resolve a conflict between 2 docs?...
This function would only run in the case of conflicts... And perhaps there can only be on per database or something idk... But the basic idea is that it takes (doc, doc) along with say...vector clocks or something....and the returned doc is saves to disk...or rather..the non returned value is removed from the revision tree. The exact logic is a little shaky bit the idea is pretty solid... Thoughts? This would be incredible....if properly designed
