ninsmiracle opened a new pull request, #1608: URL: https://github.com/apache/incubator-pegasus/pull/1608
### What problem does this PR solve? <!--add issue link with summary if exists--> #1595 ### What is changed and how does it work? While adding duplication tasks to the Pegasus table, old vertion code will changing the 'duplicating' field in the in-memory 'app_info'.However, it is also necessary to persist the 'app_info' to disk. Cause during the replica "load" stage(one stage of replica replica's initialization.Specifically,replica load some infomation from disk), the replica can read the correct 'app_info' information.And so that ,replica can ensure current Pegasus App doing a duplication. ##### Tests <!-- At least one of them must be included. --> - Manual test - Cluster test ##### Code changes 1. Make private function `store_app_info` in replica.h public 2. Persist app_info when everytime replica server recive duplication check map from meta 3. Change the judgement logic of new dup map empty when replica server recive duplication check map (To avoid uncompletely init replica) -- 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. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
