janl opened a new pull request #3715:
URL: https://github.com/apache/couchdb/pull/3715


   This only applies to databases that have an n > [cluster] n.
   
   Our `middleman()` function that proxies attachment streams from
   the incoming HTTP socket on the coordinating node to the target
   shard-bearing nodes used the server config to determine whether
   it should start dropping chunks from the stream.
   
   If a database was created with a larger `n`, the `middleman()`
   function could have started to drop attachment chunks before
   all attached nodes had a chance to receive it.
   
   This fix uses a database’s concrete `n` value rather than the
   server config default value.
   
   Co-Authored-By: James Coglan <[email protected]>
   Co-Authored-By: Robert Newson <[email protected]>
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to