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

expiration may be rescheduled when it is not needed

    XMLWordPrintableJSON

Details

    Description

      Geode expiration is configured with timeouts whose units are seconds. But the internal implementation uses milliseconds. I noticed recently that for whatever reason, the Timer was firing scheduled events a few milliseconds early. This caused the expiration code to reschedule it for just a few milliseconds and then do all the expiration checking again. It has also been noticed that last-access-time expiration may find a timestamp on another member that is just a few milliseconds away from expiration. Once again this causes a reschedule.

      It seems like if the millisecond time is within 500 millis of expiring then we could go ahead and expire without rescheduling. 

      Attachments

        Issue Links

          Activity

            People

              dschneider Darrel Schneider
              dschneider Darrel Schneider
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: