-
Notifications
You must be signed in to change notification settings - Fork 411
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Raft cache persist improve #5
Conversation
|
||
template <bool is_set, typename T, template <typename E = T, typename...> class Container, class Write, class Read> | ||
struct PersistedContainerSetOrVector | ||
template <bool is_map, bool is_set, class Trait> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe we can make abstraction in the concept of Iterator later if have time.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The problem is map use K and V, while others use T only. I can unify map by std::pair<K, V>, but not user friendly.
Signed-off-by: xufei <[email protected]>
Decrease indents of readColumn
https://internal.pingcap.net/jira/browse/FLASH-115