| 2756 | } |
| 2757 | |
| 2758 | struct ChangeArg { |
| 2759 | Cluster* c; |
| 2760 | std::vector<braft::PeerId> peers; |
| 2761 | volatile bool stop; |
| 2762 | bool dont_remove_first_peer; |
| 2763 | }; |
| 2764 | |
| 2765 | static void* change_routine(void* arg) { |
| 2766 | ChangeArg* ca = (ChangeArg*)arg; |
nothing calls this directly
no outgoing calls
no test coverage detected