[sheepdog] problems about `dog vdi object location` when node is in gateway mode
nxtjinzhi at gmail.com
Tue Dec 9 03:21:04 CET 2014
when a new gateway (never joined a cluster before) joins a existing
cluster (already formatted), `dog vdi object location` will cause the new
It's mainly because the new joined gateway's backend storage is not
initialized(`sd_store` is not initialized), and `dog vdi object location`
cause it using uninitialized pointer (sd_store->exist).
maybe we could check whether a node is in gateway mode in
and if that node is gateway, just return SD_RES_NO_OBJ.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the sheepdog