From: Davies L. <dav...@gm...> - 2011-11-03 02:04:11
|
Hi, We found a bug in mfsmaster, in syslog: structure error - edge->parent/parent->edges (node: 2109740 ; edge: 1406108512,guessstat-2011-09-26_00000 -> 2516019) The parent 2516019 of node 2109740 not exists, It caused mfsmaster start failed and mfsmetarestore failed. It can been fixed by: e->parent = fsnodes_id_to_node(parent_id); + if (e->parent==NULL) { + // log + e->parent = fsnodes_id_to_node(1); // HACK + } if (e->parent==NULL) { When can not found the parent of a node, then put the node in / instead. After starting successfully, remove the file (unexpected node). The real reason should been found, maybe when deleting dirs, one node of its children was in unusually status, been ignored. -- - Davies |