MySQL Lists are EOL. Please join:

List:Commits« Previous MessageNext Message »
From:cpowers Date:December 24 2007 7:58am
Subject:bk commit into 6.0 tree (chris:1.2775) BUG#33175
View as plain text  
Below is the list of changes that have just been committed into a local
6.0 repository of cpowers. When cpowers does a push these changes will
be propagated to the main repository and, within 24 hours after the
push, to the public repository.
For information on how to access the public repository

ChangeSet@stripped, 2007-12-24 01:57:55-06:00, chris@stripped +1 -0
  Bug#33175, Falcon table hangs when insertng over 8M rows
  - Changed exclusive lock to shared lock for syncIndexes in SRLUpdateIndexes to reduce conflict between the client and the gopher threads.

  storage/falcon/SRLUpdateIndex.cpp@stripped, 2007-12-24 01:57:52-06:00, chris@stripped +2 -1
    Changed exclusive lock on syncIndexes to shared lock in SRLUpdateIndex::append() to allow for smoother interaction with gopher threads.

diff -Nrup a/storage/falcon/SRLUpdateIndex.cpp b/storage/falcon/SRLUpdateIndex.cpp
--- a/storage/falcon/SRLUpdateIndex.cpp	2007-10-11 07:50:14 -05:00
+++ b/storage/falcon/SRLUpdateIndex.cpp	2007-12-24 01:57:52 -06:00
@@ -40,7 +40,8 @@ SRLUpdateIndex::~SRLUpdateIndex(void)
 void SRLUpdateIndex::append(DeferredIndex* deferredIndex)
 	Sync syncIndexes(&log->syncIndexes, "SRLUpdateIndex::append");
-	syncIndexes.lock(Exclusive);
+//	syncIndexes.lock(Exclusive);
+	syncIndexes.lock(Shared);
 	Transaction *transaction = deferredIndex->transaction;
 	DeferredIndexWalker walker(deferredIndex, NULL);
bk commit into 6.0 tree (chris:1.2775) BUG#33175cpowers24 Dec