add maxversion for scan in cptable
add multiple put for demo of thrift2