psync-with-newmaster

code patch for psync_with_newmaster

psync_with_newmaster

static to global server Object

allow replicaiton in slave mode

change

dont set master_repl_offset to 0