On Fri, Jul 6, 2012 at 8:40 PM, Afkham Azeez <[email protected]> wrote:

> Scenario 1 is something we addressed early in the development of the metal
> file model. Were you able to reproduce it? I think scenario 2 also should
> just work. Did you reproduce it?
>
I was able to reproduce both scenarios. But I'm not sure whether my local
DS setup is correct. Therefore, better to test these 2 scenarios on a beta
pack by some QA guy.

Thanks,
~Isuru

>  --
> Afkham Azeez
> Sent from my phone
> On Jul 6, 2012 7:47 PM, "Supun Malinga" <[email protected]> wrote:
>
>>
>>
>> On Fri, Jul 6, 2012 at 7:31 PM, Isuru Suriarachchi <[email protected]>wrote:
>>
>>> While testing some other issue with the deployment synchronizer (DS), I
>>> found the following scenarios in which there can be svn conflicts.
>>>
>>> 1. Synchronizing meta files. Consider the following sequence in a 2 node
>>> Carbon cluster..
>>>
>>> * foo.aar deployed in node 1
>>> * DS syncs it to node 2
>>> * foo.aar gets deployed in node 1 and foo.meta is created in node 1
>>> * foo.aar gets deployed in node 2 and foo.meta is created in node 2
>>> * DS tries to sync foo.meta in node 1 to node 2
>>> * Conflict because foo.meta is already there in node 2
>>>
>>
>> Hmm...  this complicates things with MetaData Deployer as well. We need
>> to include MetaFile sync into tests as well.
>>
>> thanks,
>>
>>>
>>> 2. Deploying webapps. Now we've enabled exploded mode by default. So if
>>> a foo.war is in webapps directory, foo directory will be created inside the
>>> webapps directory.
>>>
>>> * foo.war is deployed in node 1
>>> * DS syncs it to node 2 before extraction
>>> * both node 1 and node 2 deploys foo.war and creates foo directories
>>> under webapps
>>> * DS tries to sync foo directory from node 1 to node 2
>>> * Conflict because the foo directory is already there in node 2
>>>
>>> I think we have to heavily test these scenarios and fix all these issues
>>> before we release. Charitha, have we tested DS on trunk? If not, shall we
>>> create a plan?
>>>
>>> Thanks,
>>> ~Isuru
>>>
>>> --
>>> Isuru Suriarachchi
>>> Senior Technical Lead
>>> WSO2 Inc. http://wso2.com
>>> email : [email protected]
>>> blog : http://isurues.wordpress.com/
>>>
>>> lean . enterprise . middleware
>>>
>>>
>>> _______________________________________________
>>> Dev mailing list
>>> [email protected]
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Supun Malinga,
>>
>> Software Engineer,
>> WSO2 Inc.
>> http://wso2.com
>> http://wso2.org
>> email - [email protected] <[email protected]>
>> mobile - 071 56 91 321
>>
>>
>> _______________________________________________
>> Dev mailing list
>> [email protected]
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>


-- 
Isuru Suriarachchi
Senior Technical Lead
WSO2 Inc. http://wso2.com
email : [email protected]
blog : http://isurues.wordpress.com/

lean . enterprise . middleware
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to