Hi,

 Hi Devs,
>>>>
>>>> Currently if any change (revert patch or insert new patch) in the
>>>> patches directory we are applying all the existing patches along with
>>>> bundleBackupDir (patch0000) which is quite a large directory to the plugins
>>>> directory. As I feel we can optimize this process even more and reduce
>>>> server start-up time if only new patches has being added.
>>>>
>>>>
>>>>    - *If any patch revert :* no change in the current patch applying
>>>>    process.
>>>>
>>>>
>>>>    - *if only new patches has added* : we can only apply the newly
>>>>    added patches since previous patches are already exist in the plugins
>>>>    directory.
>>>>
>>>> +1. Makes sense to avoid all that copying if possible.
>
> One question. With the new implementation, how do we detect when to
> revert/add patches (md5sum ??) ?
>


Yes we can detect these changes as we maintain a list of currently applied
patches to the system.


>
> If the information kept regarding patches is comprehensive enough, maybe
> we can avoid the bulk copying process for reverting as well? WDYT?
>


+1


Thanks,
Manoj
_______________________________________________
Architecture mailing list
[email protected]
https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture

Reply via email to