Bug 46377

GemStone/S

6.7.1, 6.7, 6.6.5, 6.6.4, 6.6.3.3, 6.6.3.2, 6.6.3, 6.6.2, 6.6.1, 6.6, older versions

6.7.2

RcQueues have issues on January 5, 2022

On January 5, 2022, the number of seconds since January 1, 2005 (as returned, for example, by the method System class>>timeGmt2005) will exceed the value of SmallInteger maximumValue. RcQueues use this value to mark the time elements are added to the queue.

After this change, the createTime in RcQueueEntries will roll to a negative SmallInteger (starting with negative SmallInteger maximumValue - 1), and continue to increase.

While the RcQueue will continue to work, elements added after the rollover will be returned out of order, before elements added before the rollover.

Workaround

The GemStone v6.7.2 release provides a new class for elements, RcQueueEntry2020, which uses the seconds since 2020. These will be automatically used following upgrade to 6.7.2, and avoids any issues at the time of changeover.

Note that in January 2037, the createTime for RcQueueEntry2020 will roll over in turn.


                

Last updated: 8/18/21