Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Correcting some bugs about nodes fault tolerance.
[jaceP2P.git] / src / jaceP2P / SuperNodeListe.java
index 82facfc..df26230 100644 (file)
@@ -412,7 +412,7 @@ public class SuperNodeListe implements Cloneable {
                                try {
                                        ok = ok && remoteStub.blockForMapping() ;
                                } catch( Exception e ) {
-                                       System.err.println( "Unable to remove GNode at SuperNode " + d.getIP() ) ;
+                                       System.err.println( "Unable to remove GNode on SuperNode " + d.getIP() ) ;
                                }
                        }
                }
@@ -437,7 +437,7 @@ public class SuperNodeListe implements Cloneable {
                                        try {
                                                remoteStub.setMapping( al ) ;
                                        } catch( Exception e ) {
-                                               System.err.println( "Unable to set mapping data at SuperNode " + d.getIP() ) ;
+                                               System.err.println( "Unable to set mapping data on SuperNode " + d.getIP() ) ;
                                        }
                                }
                        }
@@ -454,14 +454,14 @@ public class SuperNodeListe implements Cloneable {
                        for( int i = 0 ; i < liste.size() ; i++ ) 
                        {
                                d = (SuperNodeData) liste.elementAt( i ) ;
-                               if( ! d.getIP().equals(LocalHost.Instance().getIP() ) ) 
+                               if( ! d.getIP().equals( LocalHost.Instance().getIP() ) ) 
                                {
                                        // if not me, I inform the other super nodes
                                        remoteStub = d.getStub() ;
                                        try {
                                                remoteStub.updateMappedNode( _dead, _remp ) ;
                                        } catch( Exception e ) {
-                                               System.err.println( "Unable to set mapping data at SuperNode " + d.getIP() ) ;
+                                               System.err.println( "Unable to propagate replacing node on SuperNode " + d.getIP() ) ;
                                        }
                                }
                        }