inn-BETA-20000629, tradindexed corrupted group entry

Katsuhiro Kondou kondou at nec.co.jp
Mon Jul 3 14:44:18 UTC 2000


In article <200007031055.MAA05165 at erik.net.uni-c.dk>,
	Erik Mouritzen <unilerik at erik.net.uni-c.dk> wrote;

} > Hm, how about attached?  Before restarting innd, you need
} > to remove pathoverview/group.index(not whole overview data).
} 
} I have tested attached on one of my other systems running 2.3(beta).
} (keeping my production server out of testing right now).
} 
} But, still having the problem with "tradindexed corrupted group entry"
} when specifing a value to XOVER lower than lowwatermarking.

Aha, I've got the problem, and attached should fix it.
(patch is diff from original)
-- 
Katsuhiro Kondou

--- storage/ov3/ov3.c.orig	Wed Jun 28 17:01:59 2000
+++ storage/ov3/ov3.c	Mon Jul  3 23:41:39 2000
@@ -285,10 +285,10 @@
     loc = GROUPnewnode();
     ge = &GROUPentries[loc.recno];
     ge->hash = grouphash;
-    if (lo != 0)
-	ge->low = lo;
     ge->high = hi;
     ge->deleted = ge->low = ge->base = ge->count = 0;
+    if (lo != 0)
+	ge->low = lo;
     ge->flag = *flag;
     ge->next = GROUPheader->hash[i];
     GROUPheader->hash[i] = loc;
@@ -802,8 +802,8 @@
        run time of this loop */
     do {
 	oldinode = ge->indexinode;
-	if (low < ge->low)
-	    low = ge->low;
+	if (low < ge->base)
+	    low = ge->base;
 	if (high > ge->high)
 	    high = ge->high;
 	base = ge->base;



More information about the inn-workers mailing list