[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[p2-dev] application integrity when provisioning stops
- From: radu.kopetz@xxxxxxxxxxxxxxxxxx
- Date: Thu, 23 Dec 2010 14:01:15 +0100
- Delivered-to: email@example.com
- User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:220.127.116.11) Gecko/20101027 Lightning/1.0b1 Thunderbird/3.0.10 ThunderBrowse/18.104.22.168
I plan to use P2 to provision an application, and I was wondering what
happens if some error occurs while downloading the artifacts. For
instance, let's say I have a feature A that contains two plugins pl1 and
pl2. Feature A and plugin pl2 are downloaded OK, and the repository
becomes unavailable during the download of plugin pl2.
What is the state of the application and it's profile ? I am using the
P2 API, therefore UpdateOperation instances. Are they transaction-based,
and a rollback is automatically performed in case of failure ?
Thanks in advance,