Details
Description
This happen when
- Filter uses document key such as META().id = "docName"
- The document being filtered has uncommitted transaction XATTRs
Filter overwrites the previous body with a smaller one, the endBodyPos was kept at the old value, causing panic at https://github.com/couchbase/goxdcr/blob/9c6fce2e565f87fdb7abd6503c32f2a40593d928/base/filter/filterUtils.go#L117