From: Gandalf C. <gan...@gm...> - 2018-05-21 19:09:27
|
Il giorno lun 21 mag 2018 alle ore 20:51 WK <wk...@bn...> ha scritto: > Maybe MFS could also detect if there is something bad happening and go RO. How to detect this ? Another solution would be to generate an unique id for each chunkserver on first connection (an UUID would be great) and save the same value in both master and chunkserver. Then if chunkserver at 1.2.3.4 is talking with a different UUID than the one stored on master server, something bad happened. If you want to add a new chunkserver, just add it with a brand new IP. if you want to replace an existing chunkserver, by keeping the old IP, something like the following should be executed: mfschunkserver --uuid-clear to clear the UUID before allowing connections to master. |