Skip to content

Create new nodes.json for new epoch

Dmitry requested to merge dmius-recreate-nodesjson into master

Description

Sometime nodes.json can store wrong list of nodes. And this list do not updates from epoch to epoch. In this MR have done recreate nodes.json for every new epoch. And old nodes.json backups with name same to data directory name.

  • the MR description has been reviewed
  • this MR contains text changes and they have been reviewed OR there are no texts changes
  • this MR contains GUI/CLI changes and they have been reviewed OR there are no GUI/CLI changes
  • this MR contains API changes and they have been reviewed OR there are no API changes

Related issue

Examples

drwxr-xr-x 3 user user 4096 Oct  9 16:34 .
drwxr-xr-x 3 user user 4096 Oct  9 16:34 ..
-rw------- 1 user user 2296 Oct  9 16:30 1_2019_10_09T16_29_07_+0300_nodes.json
-rw------- 1 user user 2296 Oct  9 16:32 2_2019_10_09T16_31_05_+0300_nodes.json
drwxr-xr-x 5 user user 4096 Oct  9 16:33 json_reports
-rw------- 1 user user 2296 Oct  9 16:34 nodes.json

Merge request reports

Loading