Looks great, but how that shadow ddoc would replicate? What happens when tgt node received shadow ddoc, rebuilt shadow index, and then updates original ddoc?
ermouth пт, 17 мая 2019 г. в 00:03, Robert Samuel Newson <[email protected]>: > I suggest an alternative; the new design document could include the _id of > design document it’s replacing (“_replaces”:”_design/foo”). On completion > of the view build of the new design document, CouchDB itself updates the > named _id to the same content as the new design document (strictly, only > the parts needed to make the view sig match) (perhaps it also deletes the > new document). > >
