So we had some weird behaviour we couldn’t explain and once I tracked it down I figured I should share. We’re running 2.16.
The issue:
Certain methods were never getting the response from the DDP and just hanging. The most noticeable was on logging out. You’d end up logged out on the server but not on the client.
The culprit?
We have an auditlog which runs via hooks. I had thought it a good idea to exclude big noisy collections like this from the oplog parsing via OplogExcludeCollections but it seems this is exactly what has broken our method calls. I removed the auditlog from the list and all works ok again.
I think we should at least smack a big warning label on this functionality ? Is this the expected behaviour ? I asked copilot what it thought of the code here and if it could see exactly why it happens and it had plenty of ideas. I’ll leave it with the creators to decide though if this is expected behaviour or not.
I didn’t open an issue but let me know if I should.