move transaction creation of addOplogPartitions to inside oplog.cpp