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

add printf

change

add log

add log

add log

add log

add log

add log

Add log

add log

add log

add log

add log

remove invalid condition

fix initial value

remove unused logs

remove unused logs

fix bug for config rewrite

add log