
www.Usenet.com
| <-- __Chronological__ --> | <-- __Thread__ --> |
> 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__ --> |