Re: [IndexedDB] Rewindable cursors (#55)

One possible problem I see is that this would allow infinite transactions. E.g. one can move the cursor back and forth over two or more records forever in a loop.. (I don't mean this has to happen intentionally by the programmer - could just be some edge case that wasn't handled correctly)

I got impression the original design idea was that transactions would be short-termed and auto-closing?

Anyway this kind of relates to some of my comments on #72, where I questioned whether all transactions are supposed to be finite by design? To reiterate - the logic was: if all transactions were guaranteed to be finite (I'm excluding `open` and `close` requests here) then a `closePending` flag would mean that a `close` request would always cause a connection terminate to in a finite amount of time.

I thought I might as well mention that here as well?

---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/IndexedDB/issues/55#issuecomment-199782675

Received on Tuesday, 22 March 2016 12:09:16 UTC