[indexeddb] What happens after we reach the AutoInc maximum value?

Assuming that we've created an object store with the auto-increment flag set to true, what is the expected behavior when we reach some type of max auto-increment value?  Do we want to recycle and start again from zero or do we stop at the largest number and allow duplicates which will generate a constraint error?

It seems that if we were to start again from zero and increment the value every time we find a constraint error, we could reuse the primary key of previous records that were deleted.

What are your thoughts?

Israel

Received on Saturday, 13 August 2011 00:26:56 UTC