refactor(storage): type-safe access to single fields of peer
All threads resolved!
All threads resolved!
Every field of Peer now has a corresponding unit struct defined in the
peer_field
module, which implements the PeerFieldDef
trait which in
turn contains information about the field's name, tarantool type and
rust type.
This information currently is used in the field_by_raft_id
method
and is generated by the define_peer_fields
macro, which also
automates the generation of the format (peer_format
function) for the
"raft_group" space.
Merge request reports
Activity
assigned to @gmoshkin
mentioned in merge request !249 (merged)
added 6 commits
-
0d2b43d8...31a76282 - 3 commits from branch
master
- 84313a1d - chore: bump tarantool-module
- 0c05bca1 - refactor(storage): extract access to peers into a struct
- 254500a4 - refactor(storage): type-safe access to single fields of peer
Toggle commit list-
0d2b43d8...31a76282 - 3 commits from branch
added 1 commit
- 333d62ca - refactor(storage): type-safe access to single fields of peer
added 18 commits
-
333d62ca...87d174e5 - 15 commits from branch
master
- 824ca5af - chore: bump tarantool-module
- fa3fc494 - refactor(storage): extract access to peers into a struct
- 808ee863 - refactor(storage): type-safe access to single fields of peer
Toggle commit list-
333d62ca...87d174e5 - 15 commits from branch
added 5 commits
-
808ee863...79369d73 - 2 commits from branch
master
- 04f44cd9 - chore: bump tarantool-module
- 6a1e1e0d - refactor(storage): extract access to peers into a struct
- fea1b0a2 - refactor(storage): type-safe access to single fields of peer
Toggle commit list-
808ee863...79369d73 - 2 commits from branch
mentioned in merge request !259 (merged)
- Resolved by Georgy Moshkin
Please register or sign in to reply