frostfs-node/pkg/innerring/processors/netmap
Leonard Lyubich 68565d9617 [#938] ir/netmap: Call AddPeer method if existing candidate was updated
In previous implementation IR handler of `AddPeer` notification didn't send
registration to contract if existing peer changed has changed its
information. as a consequence, the network map members could not update the
information without going into offline.

Change `processAddPeer` handler to check if
  * candidate in the network map is a brand new
  * or information about the network map member was changed
and call `AddPeer` method if so.

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2021-11-10 18:05:30 +03:00
..
nodevalidation [#622] pkg/innerring: Add composite validator 2021-06-22 12:12:45 +03:00
cleanup_table.go [#938] ir/netmap: Call AddPeer method if existing candidate was updated 2021-11-10 18:05:30 +03:00
cleanup_table_test.go [#938] ir/netmap: Call AddPeer method if existing candidate was updated 2021-11-10 18:05:30 +03:00
handlers.go [#910] innerring: Make notary deposit on notification instead of timer 2021-11-02 11:28:02 +03:00
internal_events.go [#132] Add internal event to process cleanup 2020-11-02 10:52:52 +03:00
process_cleanup.go [#627] processors/netmap: Read address of contract from client wrapper 2021-09-30 18:02:58 +03:00
process_epoch.go [#910] innerring: Make notary deposit on notification instead of timer 2021-11-02 11:28:02 +03:00
process_peers.go [#938] ir/netmap: Call AddPeer method if existing candidate was updated 2021-11-10 18:05:30 +03:00
processor.go [#910] innerring: Make notary deposit on notification instead of timer 2021-11-02 11:28:02 +03:00