// cleanup for a bad bug that corrupted the database
index.remove(indexkey);// the RowCollection must be considered lost
index.remove(indexkey, false);// the RowCollection must be considered lost
array.remove(rownumber);// loose the RowCollection (we don't know how much is lost)
serverLog.logSevere("kelondroCollectionIndex."+array.filename,"lost a RowCollection because of a bad arraykey");
returnnewkelondroRowSet(this.payloadrow,0);
@ -933,7 +933,7 @@ public class kelondroCollectionIndex {
kelondroRowSetcollection=newkelondroRowSet(this.payloadrow,arrayrow,1);// FIXME: this does not yet work with different rowdef in case of several rowdef.objectsize()
// keepOrder cannot have any effect: the order inside the database file cannot be maintained, but iteration over objects will always maintain the object order
// therefore keepOrder should be true, because the effect is always given, while the data structure does not maintain order
assertkeepOrder==true;
// delete from database
synchronized(writeSearchObj){
writeSearchObj.process(key);
@ -1090,7 +1093,7 @@ public class kelondroTree extends kelondroCachedRecords implements kelondroIndex
publicvoidremove(){
if(lastKey!=null)try{
kelondroTree.this.remove(lastKey);
kelondroTree.this.remove(lastKey, true);
}catch(IOExceptione){
// do nothing
}
@ -1241,9 +1244,9 @@ public class kelondroTree extends kelondroCachedRecords implements kelondroIndex
asserturlFileIndex.size()+1==s:"urlFileIndex.size() = "+urlFileIndex.size()+", s = "+s+", result = "+result;
if(rowEntry==null){
serverLog.logSevere("PLASMA BALANCER","get() found a valid urlhash, but failed to fetch the corresponding url entry - total size = "+size()+", fileStack.size() = "+urlFileStack.size()+", ramStack.size() = "+urlRAMStack.size()+", domainStacks.size() = "+domainStacks.size());