On Mon, Mar 2, 2015 at 2:30 PM, Maria Andersson <[email protected]> wrote: > What does "changelog" do in the database document?
Change log is a ordered list of changes in the shards of this database. > What I could see in the sources, CouchDB only writes to it when > creating a database, and then only "add". And it also lack of timestamps, which makes it almost useless. > Does this mean that "changelog" is only for the admins? Admins and devops, yes. At least they may see that some shard on some node was added for some database. > What are the other actions? > "delete"? Is there a "move"? (Should not exist as it is add + delete.) Not implemented I believe. > Should views be moved together with the shard? IMHO, yes. > Or should they be recreated by the new node after moving the shard? If we had "replicate a view" feature, I would say they should be replicated. But in current state of things, they have to be rebuild from scratch. What may annoy some people. -- ,,,^..^,,,
