You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Raft node can be identified by its address because it is unique. This is why lol defines Id = Address.
My idea is change this to Id = (Label, Address). This change will make it easy to
Read the log: If address is used as Id in the log, it is difficult to read. If it is shorter like "ND1", it will become easy to identify.
Match different Ids: You may make a Raft cluster on k8s. How to match Pod's label and lol's node? If we use the same label in both layers, matching becomes easy.
Also, as the label is shorter than Address it is much efficient to compare two labels instead of addresses. This will be a bit of optimization.
The text was updated successfully, but these errors were encountered:
Raft node can be identified by its address because it is unique. This is why lol defines
Id = Address
.My idea is change this to
Id = (Label, Address)
. This change will make it easy toAlso, as the label is shorter than Address it is much efficient to compare two labels instead of addresses. This will be a bit of optimization.
The text was updated successfully, but these errors were encountered: