Signed-off-by: Greg Farnum <greg@inktank.com>
*/
void PG::init(
int role,
- vector<int>& newup, int new_up_primary,
- vector<int>& newacting, int new_acting_primary,
- pg_history_t& history,
+ const vector<int>& newup, int new_up_primary,
+ const vector<int>& newacting, int new_acting_primary,
+ const pg_history_t& history,
pg_interval_map_t& pi,
bool backfill,
ObjectStore::Transaction *t)
void init(
int role,
- vector<int>& up,
+ const vector<int>& up,
int up_primary,
- vector<int>& acting,
+ const vector<int>& acting,
int acting_primary,
- pg_history_t& history,
+ const pg_history_t& history,
pg_interval_map_t& pim,
bool backfill,
ObjectStore::Transaction *t);