Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid releasing sent buffer to early in BookieClient mock
If the buffer was sent to more than one bookie with the mock, it would be released after being sent to the first one. Each write should retain a refCount themselves, and then release when done. Author: Ivan Kelly <ivank@apache.org> Reviewers: Sijie Guo <sijie@apache.org> This closes #1598 from ivankelly/double-rel-mock
- Loading branch information