Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CQ: Fix a crash when CMQ master changes in mixed environment test
When policies are applied to change a CMQ master, and that master moves from 3.13 to 3.12, this triggers a CQ version change (because it defaults to v2 in 3.13 but v1 in 3.12). which leads to a crash because the files on disk have an index entry for messages that are in memory only. The index entry is only created with CMQs, normal CQs prohibit this behavior. Since we are going to remove CMQs "soon" the solution to fix the crash was to simply ignore the index entry when we know the message is already in memory. (cherry picked from commit 90e871d)
- Loading branch information