Uploaded image for project: 'Geode'
  1. Geode
  2. GEODE-8745

Closing the region backing the queue when the serial gateway sender is stopped.

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.14.0
    • wan

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            nnag Nabarun Nag
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: