Previously, if the applies were paused (i.e. due to an on-going catchup) then calls to SetObserver(...) from other places, i.e. jetstream_cluster_migrate, would not leave observer mode after applies were resumed. This could result in assets getting stuck in observer mode.
Previously, if the applies were paused (i.e. due to an on-going catchup) then calls to
SetObserver(...)
from other places, i.e.jetstream_cluster_migrate
, would not leave observer mode after applies were resumed. This could result in assets getting stuck in observer mode.Signed-off-by: Neil Twigg neil@nats.io