[chord] Re: running CFS
Akito Fujita
m04uc513 at gscc.osaka-cu.ac.jp
Sat Nov 5 15:46:53 EST 2005
From: Emil Sit <sit at MIT.EDU>
Subject: running CFS
Date: Mon, 31 Oct 2005 16:05:14 -0500
> > It's compiled fine. But cfs does not work.
>
> I discovered there was a bug in one of our recent changes to the
> internals of DHash that resulted in public key and other strictly
> replicated blocks being thrown away instead of being written to
> disk. I have checked in a fix for this but now the code triggers
> an assert (0) at chordcd/server.C:494.
>
> I'm not sure the last time this code ran successfully and at this
> point, getting CFS to work again may take a bit of work, at least
> since I'm not very familiar with the CFS implementation. Are you
> looking to develop an application using Chord/DHash? Or just to
> get CFS running?
Last Night, I tried CFS again with old Chord/DHash.
On FreeBSD 4.11,
Using 20030220 SNAPSHOT with some modification,
it's seem to be work.
You can checkout this SNAPSHOT following command.
cvs -d :pserver:anoncvs at cvs.pdos.lcs.mit.edu:/cvs co -D 20030220 -P sfsnet
And here is my modification.
------------------------------------------------------------
diff -ru Makefile.am- Makefile.am
--- Makefile.am- Tue Jan 28 09:31:01 2003
+++ Makefile.am Sun Nov 6 04:22:33 2005
@@ -1,13 +1,14 @@
## Process this file with automake to produce Makefile.in
# $Id: Makefile.am,v 1.21 2003/01/28 00:31:01 fdabek Exp $
-#SUBDIRS = svc sfsrodb sfsrocd sfsrosd chord dhash lsd
-DIRS = svc merkle chord dhash sfsrodb lsd devel
-if COND_ALL
- DIRS = svc merkle chord dhash sfsrodb lsd devel chordcd test tst melody
-endif
-
-SUBDIRS = $(DIRS)
+### #SUBDIRS = svc sfsrodb sfsrocd sfsrosd chord dhash lsd
+### DIRS = svc merkle chord dhash sfsrodb lsd devel
+### if COND_ALL
+### DIRS = svc merkle chord dhash sfsrodb lsd devel chordcd test tst melody
+### endif
+###
+### SUBDIRS = $(DIRS)
+SUBDIRS = svc merkle chord dhash sfsrodb lsd devel
CLEANFILES = core *.core *~
diff -ru acinclude.m4- acinclude.m4
--- acinclude.m4- Fri Jan 24 08:54:51 2003
+++ acinclude.m4 Sun Nov 6 04:23:48 2005
@@ -854,7 +854,6 @@
if test "$with_gmp"; then
unset GMP_DIR
if test -f ${with_gmp}/include/gmp.h; then
- CPPFLAGS="$CPPFLAGS -I${with_gmp}/include"
elif test -f ${with_gmp}/include/gmp3/gmp.h; then
CPPFLAGS="$CPPFLAGS -I${with_gmp}/include/gmp3"
elif test -f ${with_gmp}/include/gmp2/gmp.h; then
diff -ru sfsnet-20030220/lsd/lsd.C a/lsd/lsd.C
--- lsd/lsd.C- Wed Feb 19 06:31:19 2003
+++ lsd/lsd.C Sun Nov 6 04:35:29 2005
@@ -227,7 +227,7 @@
void
dump_rpcstats (const rpc_program &prog, bool first, bool last)
{
- static rpc_program total;
+//static rpc_program total;
// In arpc/rpctypes.h -- if defined
#ifdef RPC_PROGRAM_STATS
------------------------------------------------------------
- Akito
More information about the chord
mailing list