Maxinum number of versions for a single object in the ZODB ?
Yo, Somewhere in our deployment we have a SimpleItem.SimpleItem object with a random number generator in it. The code to get a new random number is: random=self.__random.random() #.... self._p_changed = 1 # make sure to store the changed generator We use that generator A LOT, but today, after some months of working correctly, it just stopped returning different random numbers. I have no other clue than to guess there is a maxinum number of different versions any object can have in the ZODB. Is my hunch correct ? TIA, Romain.
Romain Slootmaekers wrote at 2003-7-12 15:00 +0200:
Somewhere in our deployment we have a SimpleItem.SimpleItem object with a random number generator in it. The code to get a new random number is:
random=self.__random.random() #.... self._p_changed = 1 # make sure to store the changed generator
We use that generator A LOT, but today, after some months of working correctly, it just stopped returning different random numbers. I have no other clue than to guess there is a maxinum number of different versions any object can have in the ZODB.
Is my hunch correct ?
No, there is no such limit. You can have as many version as you have disk space... Dieter
participants (2)
-
Dieter Maurer -
Romain Slootmaekers