> On 06 Mar 2015, at 12:00, Alexander Shorin <[email protected]> wrote:
> 
> 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.

Correct, I implemented it for 1.x once, but then we realised it is
two operations and we can’t guarantee consistency across them, so
we took it out. Clients can do COPY & DELETE to get the same effect
plus the suual consistency guarantees.


> 
>> 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.
> 
> --
> ,,,^..^,,,

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

Reply via email to