frostfs-node/pkg/innerring/processors/netmap
Alex Vanin 8865252daf [#325] innerring: Fix storage node re-bootstrap approval
Netmap snapshot table caches bootstrap `AddPeer` txs so inner ring
node does not produce redundant approval txs for bootstrapped nodes.
However if node updates states to `Offline`, then such node should
be flagged in snapshot table, so re-bootstrap will actually produce
approval tx.

`ev.PublicKey.String()` returns uncompressed representation of the
node's public key, while snapshot contains compressed values.
Therefore the node was not flagged and re-bootstrap tx was not
approved by inner ring nodes.

Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2021-01-18 18:54:07 +03:00
..
cleanup_table.go [#132] Use SDK defined netmap structure in cleanup table 2020-11-02 10:52:52 +03:00
cleanup_table_test.go [#155] Update neofs-api-go with refactored pkg/netmap 2020-11-06 09:55:05 +03:00
handlers.go [#132] Generate and handle netmap cleanup event 2020-11-02 10:52:52 +03:00
internal_events.go [#132] Add internal event to process cleanup 2020-11-02 10:52:52 +03:00
process_cleanup.go [#174] Use Marshal(JSON)/Unmarshal(JSON) methods for encoding/decoding 2020-11-17 11:56:00 +03:00
process_epoch.go [#265] innerring: Generate new audit event 2020-12-25 16:49:27 +03:00
process_peers.go [#325] innerring: Fix storage node re-bootstrap approval 2021-01-18 18:54:07 +03:00
processor.go [#265] innerring: Generate new audit event 2020-12-25 16:49:27 +03:00