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

Comparing BDB/BDB.pm (file contents):
Revision 1.64 by root, Mon Dec 26 01:46:33 2011 UTC vs.
Revision 1.65 by root, Fri Feb 10 02:18:39 2012 UTC

771 771
772=head2 Unexpected Crashes 772=head2 Unexpected Crashes
773 773
774Remember that, by default, BDB will execute requests in parallel, in 774Remember that, by default, BDB will execute requests in parallel, in
775somewhat random order. That means that it is easy to run a C<db_get> 775somewhat random order. That means that it is easy to run a C<db_get>
776request on thesa me database as a concurrent C<db_close> request, leading 776request on the same database as a concurrent C<db_close> request, leading
777to a crash, silent data corruption, eventually the next world war on 777to a crash, silent data corruption, eventually the next world war on
778terrorism. 778terrorism.
779 779
780If you only ever use foreground requests (without a callback), this will 780If you only ever use foreground requests (without a callback), this will
781not be an issue. 781not be an issue (unless you use threads).
782 782
783=head2 Unexpected Freezes or Deadlocks 783=head2 Unexpected Freezes or Deadlocks
784 784
785Remember that, by default, BDB will execute requests in parallel, which 785Remember that, by default, BDB will execute requests in parallel, which
786easily leads to deadlocks (even concurrent put's on the same database can 786easily leads to deadlocks (even concurrent put's on the same database can

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines