jiangpengcheng commented on issue #3071: delete old activations doesn't free 
disk space
URL: 
https://github.com/apache/incubator-openwhisk/issues/3071#issuecomment-349890597
 
 
   below is my thought with rolling update deployment:
   
   1. create continuous replication of activations database with selector: 
   ```json
   {
      ...
      "selector": {
         "start": {
           "$gte": "1512630323343"
         }
       }
      ...
   }
   ``` 
   
   2. create new replication from new database to old one, then the replication 
is bidirectional
   
   3. configure new deployment using new activation database
   
   4. start deployment, the new component will use new database, and old ones 
still use old database, as the two database are replicated between each other, 
so it's ok to use different database
   
   5. after deployment is over, the old database is useless, we can delete it

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to