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


   ### What problem does this PR solve? <!--add issue link with summary if 
exists-->
   move on_single_remove_in_batch to pegasus_write_service.
   
   I will remove class pegasus_server_write in the later, and move all of its' 
member functions to pegassu_write_service. Finally, all of the read operations 
are processed by pegasus_read_service, and write operations are processed by 
pegasus_write_service
   
   ### What is changed and how it works?
   
   
   ### Check List <!--REMOVE the items that are not applicable-->
   
   Tests <!-- At least one of them must be included. -->
   
   - Manual test (add detailed scripts or steps below)
   ```
   >>> ls
   [general_info]
   app_id  status     app_name  app_type  partition_count  replica_count  
is_stateful  create_time          drop_time  drop_expire  envs_count  
   1       AVAILABLE  stat      pegasus   4                3              true  
       2021-01-13_16:42:35  -          -            0           
   2       AVAILABLE  temp      pegasus   8                3              true  
       2021-01-13_16:42:35  -          -            0           
   
   [summary]
   total_app_count  : 2
   
   >>> use temp
   OK
   >>> set a b c
   OK
   
   app_id          : 2
   partition_index : 4
   decree          : 1
   server          : 10.232.55.210:34802
   >>> get a b 
   "c"
   
   app_id          : 2
   partition_index : 4
   server          : 10.232.55.210:34802
   >>> del a b 
   OK
   
   app_id          : 2
   partition_index : 4
   decree          : 2
   server          : 10.232.55.210:34802
   >>> get a c b
   USAGE:       get                     <hash_key> <sort_key>
   >>> set a c b
   OK
   
   app_id          : 2
   partition_index : 4
   decree          : 3
   server          : 10.232.55.210:34802
   >>> get a c 
   "b"
   
   app_id          : 2
   partition_index : 4
   server          : 10.232.55.210:34802
   >>> del a c
   OK
   
   app_id          : 2
   partition_index : 4
   decree          : 4
   server          : 10.232.55.210:34802
   >>> get a c 
   Not found
   
   app_id          : 2
   partition_index : 4
   server          : 10.232.55.210:34802
   >>> get a b
   Not found
   
   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