[ https://issues.apache.org/jira/browse/GEODE-8745?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17553608#comment-17553608 ]
Jakov Varenina edited comment on GEODE-8745 at 6/13/22 2:25 PM: ---------------------------------------------------------------- Hi [~nnag] , When serial gateways senders are stopped and one server is forcefully restarted, then the restarted server is stuck at the startup, indicating the following: {code:java} [info 2022/06/13 11:37:22.550 CEST server-ln-3 <main> tid=0x1] Region /ny.0_SERIAL_GATEWAY_SENDER_QUEUE has potentially stale data. It is waiting for another member to recover the latest data.{code} Before this fix was introduced, the server would normally start with a running serial gateway sender. Did you intentionally change this design base behavior? was (Author: jvarenina): Hi [~nnag] , When serial gateways senders are stopped and one server is restarted, then the restarted server is stuck at the startup, indicating the following: {code:java} [info 2022/06/13 11:37:22.550 CEST server-ln-3 <main> tid=0x1] Region /ny.0_SERIAL_GATEWAY_SENDER_QUEUE has potentially stale data. It is waiting for another member to recover the latest data.{code} Before this fix was introduced, the server would normally start with a running serial gateway sender. Did you intentionally change this design base behavior? > Closing the region backing the queue when the serial gateway sender is > stopped. > ------------------------------------------------------------------------------- > > Key: GEODE-8745 > URL: https://issues.apache.org/jira/browse/GEODE-8745 > Project: Geode > Issue Type: Task > Components: wan > Reporter: Nabarun Nag > Priority: Major > Labels: pull-request-available > Fix For: 1.14.0 > > > In the commit for GEODE-7458, when the sender is stopped, the region backing > the queues are no more closed, but just remove the cache listeners. > This is causing a problem, as the regions continue to exist, it keeps on > storing entry events and hence the queue size never gets to zero. > Also, as the region exists but before attaching the cache listener when > restarting the sender leads to entries being never removed from the > unprocessed event map. > > As mention in the PR for GEODE-7458 - "This option is only applicable for > Gateway Senders with enabled persistence." > Hence believe that it is ok to close the region as the disk files will still > be maintained. so when we restart the values can be obtained back from the > disk stores. -- This message was sent by Atlassian Jira (v8.20.7#820007)