Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Make sure DCBs are OK before closing them
Added a check for the validity of the backend DCBs before they are closed. This should guarantee that only valid DCBs are closed by readwritesplit. However, this is not the correct solution for the problem. The DCB should not be in an invalid state in the first place and this fix just removes the bad side effects of the double closing. With the added logging in the readwritesplit error handler, more detailed information should become available.
- Loading branch information