Re: Backup queue for local continuous query

2018-08-31 Thread Andrey Mashenkov
Sorry for late answer. Yes, I'm agree local CQ should ignore backup partitions at all for partitioned caches, and we should trigger all events (primary and backups) for replicated caches. With this approach there is no need to collect backup events in queue anymore. On Fri, Aug 10, 2018 at 4:51

Re: Backup queue for local continuous query

2018-08-10 Thread Denis Mekhanikov
Andrey, I also think, that remote nodes shouldn't be involved. > Instead of using backup queue we can notify CQ on backup events instantly This would be an incompatible change. It would break users' code, that doesn't expect notifications on backup entries. On the other hand, it would make our AP

Re: Backup queue for local continuous query

2018-08-10 Thread Andrey Mashenkov
Hi Denis, As my understanding right, to prevent potential OOM Local CQ either shouldn't collect anything in backup queue or other nodes should send akcs. Second way look strange as Local CQ runs on local node only and doesn't care whats going on other nodes. It is not clear what events and when o