Nœud privé déconnecte du nœud public
1 réponses
- votes
-
- 2019-04-17
Leproblèmen'estpas lié aufait que votrenoeudestprivé.
Si vous attendez unmoment où vousn'attendezpas BootsTrapped (ici lenœud "privé") se reconnectera à sesnœudspublics,resynchronespendant unmoment ...jusqu'à ce que leproblèmepuisse apparaître ànouveau,et il redémarrepour une autreboucle...jusqu'à la synchronisation complète dunœud!
Leproblèmeest "lamanière sous-optimalepar laquelle lesblocs reçus sont écrits sur le disquepour l'instant": Dans laphase debootstrapping,unnœud reçoitet validetrès rapidement destonnes deblocs.Lorsque laperformance "Disque dur"ne suitpas (cen'estpas la défaillance du disque dur,c'est l'utilisation "incorrecte" de LMDB),ilfautparfoisplus d'uneminutepour l'un desblocs de lamer desblocs à valider..Dans ce cas,lenœudpense que c'est lafaute de lapaite qu'il demande aubloc dene pas répondre assez viteet de lefrapper alors que c'est saproprefaute ...
Améliorer le stockage deblocs (pour latailleet l'efficacité!)est untravailtrès actifen cours.
The issue is not related to the fact that your node is private.
If you wait a while the not bootstrapped (here the "private") node will reconnect itself to its public nodes, resync for a while... until the problem may show up again, and it restarts for an other loop ... until the full sync of the node!
The problem is "the suboptimal way by which the received blocks are written on the disk for now": In the bootstrapping phase, a node receives and validates tons of blocks very quickly. When the "hard drive" performance does not follow (it is not the hard drive fault, it is the "incorrect" use of lmdb), it sometime takes more than a minute for one of the block in the sea of blocks to be validated. In this case, the node thinks that it is the fault of the peer it asks the block to that didn't answer fast enough and kick it whereas it is its own fault...
Improving the storage of blocks (for size and efficiency!) is a very active work in progress.
-
Auch,c'esttoutprèsimpossiblepour lesnouveaux arrivants de deviner.Maismercibeaucouppour lesinformations.Auch, that's quite near impossible for newcomers to guess. But thank you very much for the info.
- 1
- 2019-04-17
- Svante
-
Donc,une solutionpossiblepourrait être unenouvelle solution dunœuden mode "public"et unefois qu'ilest synchronisé,le réglageprivé?Ou quelleest votre recommandationici?So a possible solution could be bootstrapping the node in "public" mode, and once it's synced, setting it private? Or what's your recommendation here?
- 0
- 2019-10-12
- raulmarcosl
-
Unnouveau stockage amélioré quifixe ce comportementestjuste autour du coin.Ma recommandationest "Attendez une semainepour que la libération seproduiseet oublie ceproblème" :-)New improved storage that fixes this behavior is just around the corner. My recommendation is "wait for a week for the release to happen and forget about this problem" :-)
- 1
- 2019-10-14
- Pierre Boutillier
J'aimisen place unnœudpublicet unboulangerprivé. Voir Cette questionpour Détails .
Les deuxnœudsfont confiance à l'identité de chacun,et lenœudprivé se connecte aupublic avec -pereer (ou
./Adresse de connexion Tezos-admin-Client AAAA
quandje leforcer).Mais la connexionne dure queenviron uneminuteet lenœudprivé Baker rapporte:
Je viens aussi demettre àjour la version Tezos laplus récente de Gitlab aujourd'hui (
Git Rev-Payse Head
RetoursD272059BF474018D0C39F5A6E60634A95F0C44AA
).Quepuis-jefairepourgardermonnœudprivé connecté àmonnœudpublic?