Usenet.com

www.Usenet.com

Group Index

Comp Thread Archive from Usenet.com

<-- __Chronological__ --> <-- __Thread__ -->

Re: Cursor iterating only keys?



> WARNING: this approach weakens the isolation guarantees provided by
Berkeley
> DB's fully serializable transaction mechanism. e.g. If another
> thread/process adds records after your thread has retrieved its in-memory
> list, then you may find that your in-memory list is out of date and your
> transaction may miss modifying some relevant records.

Yes, I a fully aware that data can be modified after storing
the keys in memory.  That is why my ensuing RMWs check
the data.  Just plain common sense. :)

--Sarge





<-- __Chronological__ --> <-- __Thread__ -->


Usenet.com



Please check out one of the premium Usenet Newsgroup Service Providers below for access to Usenet.