levy5307 opened a new pull request #667:
URL: https://github.com/apache/incubator-pegasus/pull/667


   ### What problem does this PR solve? <!--add issue link with summary if 
exists-->
   use rocksdb_wrapper::write_batch_put to reimplement incr
   
   
   - Manual test (add detailed scripts or steps below)
   ```
   >>> use temp
   OK
   >>> incr a b 0
   0
   
   app_id          : 2
   partition_index : 4
   decree          : 5
   server          : 10.232.55.210:34802
   >>> get a b 
   "0"
   
   app_id          : 2
   partition_index : 4
   server          : 10.232.55.210:34802
   >>> incr a b 1
   1
   
   app_id          : 2
   partition_index : 4
   decree          : 6
   server          : 10.232.55.210:34802
   >>> get a b 
   "1"
   
   app_id          : 2
   partition_index : 4
   server          : 10.232.55.210:34802
   >>> incr a b 5
   6
   
   app_id          : 2
   partition_index : 4
   decree          : 7
   server          : 10.232.55.210:34802
   >>> get a b 
   "6"
   
   app_id          : 2
   partition_index : 4
   server          : 10.232.55.210:34802
   
   ```


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to