Vladislav Pyatkov created IGNITE-15858:
------------------------------------------

             Summary: MetaStorageService#stopWatch should wait for watches 
completion
                 Key: IGNITE-15858
                 URL: https://issues.apache.org/jira/browse/IGNITE-15858
             Project: Ignite
          Issue Type: Improvement
            Reporter: Vladislav Pyatkov


When some watches subscribed to Meta storage and 'MetaStorageService#stopWatch' 
was invoked by some reason, we would not know when all the watches' events 
would be handled.
Also, if after we will subscribe another Watch (after the stopWatch method 
completed), events for it can outrun events for old one (event processing still 
continuous after a watch stopped).
Recommend to wait synchronously when all watch's events will process before 
stopWatch would be completed.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to