There are two independent state in SD_STATUS_STARTUP:
- collie is waiting for a format opereation
- collie is waiting for other nodes joining to the cluster
so we should split it. This patch introduces
SD_STATUS_WAIT_FOR_FORMAT and SD_STATUS_WAIT_FOR_JOIN.
Signed-off-by: MORITA Kazutaka
---
c
If the empty epoch directory is already in the store directory, collie
fails to start up without much information. This occurs, for example,
when we stop collies before executing mkfs. This patch continues
starting up in the such case.
Signed-off-by: MORITA Kazutaka
---
collie/store.c |4 +
For debugging, it is better to show error messages to the console
until collie starts working.
Signed-off-by: MORITA Kazutaka
---
collie/group.c | 10 +-
collie/store.c |8
collie/work.c |6 +++---
lib/event.c|2 +-
lib/net.c | 12 ++--
5 files
We cannot log anything until initializing logger, so we should
do it first.
Signed-off-by: MORITA Kazutaka
---
collie/collie.c |4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/collie/collie.c b/collie/collie.c
index 8c31ff6..81dfb05 100644
--- a/collie/collie.c
+++ b/c
When there is only one node in the sheepdog cluster, the master node
doesn't get join messages, so it should read the global number of object
copies by itself.
Signed-off-by: MORITA Kazutaka
---
collie/collie.h |2 +-
collie/group.c |1 +
2 files changed, 2 insertions(+), 1 deletions(-)
Collie should become a daemon after sheepdog finishes initialization
processes.
Signed-off-by: MORITA Kazutaka
---
collie/collie.c |6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/collie/collie.c b/collie/collie.c
index 81dfb05..453c1b5 100644
--- a/collie/collie.c
+
This patchset makes the output of collie startup more user-friendly.
Regards,
Kazutaka Morita
--
sheepdog mailing list
sheepdog@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/sheepdog