nickva opened a new pull request #1613: Ignore local nodes in read repair filtering URL: https://github.com/apache/couchdb/pull/1613 Previosly local node revisions were causing `badmatch` failures in read repair filter. Node sequences already filtered out local nodes while NodeRevs didn't, so during matching `{Node, NodeSeq} = lists:keyfind(Node, 1, NodeSeqs)` Node would not be found in the list and crash. Example of crash: ``` fabric_rpc:update_docs/3 error:{badmatch,false} [{fabric_rpc,'-read_repair_filter/3-fun-1-',4,[{file,"src/fabric_rpc.erl"},{line,360}]}, ``` ## Checklist - [x] Code is written and works correctly; - [x] Changes are covered by tests;
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services