Hello, I’m going to talk about a bug we noticed. We use priority redis oplog and we don’t have the problem when we don’t use it. During the use of meteor-collection-hook with publishComposite, we enter the before hook in the collection queries we make with direct and our queries do not work correctly.
I apologize for my English. While using “direct” to query without going into the “before” and “after” hooks that we set while using meteor-collection-hook, the “before” hook is also entered.
Namely, I have a “softRemove” package that I wrote myself. Soft remove adds “removedAt” to the removed data. I use Collection.direct.find to bypass this.
I was looking at taking a similar approach for soft removes. Curious, are you still using {$exists: false} for your beforeFindHook? It looks like that will require a full collscan. Based on that, did you opt for a different approach?