From: Koushik Das
>> Sent: Thursday, October 24, 2013 2:11 AM
>> To:
>> Cc: Alex Huang
>> Subject: Re: Command sequence logic in agent code
>>
>> Created https://issues.apache.org/jira/browse/CLOUDSTACK-4944 to track
>> this issue.
>>
>> Alex, An
m: Koushik Das
> Sent: Thursday, October 24, 2013 2:11 AM
> To:
> Cc: Alex Huang
> Subject: Re: Command sequence logic in agent code
>
> Created https://issues.apache.org/jira/browse/CLOUDSTACK-4944 to track
> this issue.
>
> Alex, Any reason for adding requests based
Created https://issues.apache.org/jira/browse/CLOUDSTACK-4944 to track this
issue.
Alex, Any reason for adding requests based on sequence and not doing FIFO? Do
you see any issues if request always gets added to the end of the queue?
On 23-Oct-2013, at 6:26 PM, Koushik Das wrote:
> I was loo
I was looking at the command sequencing logic in the agent code.
Each agent maintains a sequence that gets initialised based on following logic
private static final Random s_rand = new Random(System.currentTimeMillis());
_nextSequence = s_rand.nextInt(Short.MAX_VALUE) << 48;
For every co