ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/BDB/README
(Generate patch)

Comparing BDB/README (file contents):
Revision 1.16 by root, Wed Aug 5 11:52:34 2009 UTC vs.
Revision 1.17 by root, Fri Apr 11 04:25:57 2014 UTC

644 644
645COMMON PITFALLS 645COMMON PITFALLS
646 Unexpected Crashes 646 Unexpected Crashes
647 Remember that, by default, BDB will execute requests in parallel, in 647 Remember that, by default, BDB will execute requests in parallel, in
648 somewhat random order. That means that it is easy to run a "db_get" 648 somewhat random order. That means that it is easy to run a "db_get"
649 request on thesa me database as a concurrent "db_close" request, leading 649 request on the same database as a concurrent "db_close" request, leading
650 to a crash, silent data corruption, eventually the next world war on 650 to a crash, silent data corruption, eventually the next world war on
651 terrorism. 651 terrorism.
652 652
653 If you only ever use foreground requests (without a callback), this will 653 If you only ever use foreground requests (without a callback), this will
654 not be an issue. 654 not be an issue (unless you use threads).
655 655
656 Unexpected Freezes or Deadlocks 656 Unexpected Freezes or Deadlocks
657 Remember that, by default, BDB will execute requests in parallel, which 657 Remember that, by default, BDB will execute requests in parallel, which
658 easily leads to deadlocks (even concurrent put's on the same database 658 easily leads to deadlocks (even concurrent put's on the same database
659 can deadlock). 659 can deadlock).

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines