neverchanje opened a new pull request #598: URL: https://github.com/apache/incubator-pegasus/pull/598
### What problem does this PR solve? <!--add issue link with summary if exists--> We repeat `rocksdb::DB::Get` in every places where a get is performed. The code around a get is repeated too, including retrival of expire_ts and hashkey, sortkey. ### What is changed and how it works? To reduce the repetition I added `db_get` previously. In this PR I use this function to read old value during `incr`. ### Check List <!--REMOVE the items that are not applicable--> Tests <!-- At least one of them must be included. --> - Unit test ---------------------------------------------------------------- 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]
