My favorites | Sign in
Project Home Downloads Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 61: infinite loop when reusing closed recordstore in applet
2 people starred this issue and may be notified of changes. Back to list
Status:  New
Owner:  ----


 
Reported by chrisdra...@gmail.com, Aug 15, 2010
What steps will reproduce the problem?
1. openRecordStore and save a value
2. closeRecordStore
3. openRecordStore again and save/read it

What is the expected output? What do you see instead?
get the old value/get a hint there is no such value

Instead it will loop indefinitly, trying to enumerate the RecordStore's entries.

What version of the product are you using? On what operating system?
3.0.0 Snapshot dated 2010-Jul-20

Please provide any additional information below.
This probably relates to r2390: "Clear the records cache when closing the record store" - the MemoryRecordStore used in the applet will not reset its number of records counter upon this reset, so the RecordEnumerationImpl livelocks looking for them...

The MemoryRecordStore needs either its counter reset or its own cache.

Powered by Google Project Hosting