You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This change targets to improve a few places in current plasma notification code:
1. When a client subscribes to Plasma, the store pushes notifications about existing objects to ALL subscribers, while it should only push to the new subscriber.
2. And in the above scenario, it should only push "sealed" objects to the new subscriber, while currently it pushes all objects regardless of the state.
3. When a client disconnects, it will no longer be able to receive notifications, thus the NotificationQueue for the client should be removed from global map.
Author: Zhijun Fu <pingfu.fzj@antfin.com>
Author: Zhijun Fu <zhijun.fu@outlook.com>
Closes#2031 from zhijunfu/refactor-notification and squashes the following commits:
84f4935 <Zhijun Fu> Trigger
fce35f1 <Zhijun Fu> Trigger
b93ba0e <Zhijun Fu> Trigger
f2377f8 <Zhijun Fu> fix code with rebase
d50651e <Zhijun Fu> Address review comments
6a7f492 <Zhijun Fu> delete object notification queue for a client when it disconnects with plasma
57bbab3 <Zhijun Fu> plasma shouldn't push notifications to all subscribers when a new client subscribes
0 commit comments