Re: [QUESTION] Locking versus State Transitioning

2015-01-13 Thread Nitin Mehta
Hey Mike, State transition shouldn¹t be used for serialization. Our job framework should do the same. If not, then its a bug. Also, in this case locking on snapshot doesn't help, shouldn¹t it be on the volume ? Thanks, -Nitin On 13/01/15 12:34 PM, "Mike Tutkowski" wrote: >Hi, > >I noticed while

Re: [QUESTION] Locking versus State Transitioning

2015-01-13 Thread Mike Tutkowski
That is a good question, Nitin. I have not modified that logic. I just copy and pasted it to e-mail because I was curious about the lock versus state transition choice on the snapshot. I don't think we would need to perform a lock on the volume, though, because the state transition to "Snapshottin

RE: [QUESTION] Locking versus State Transitioning

2015-01-13 Thread Somesh Naidu
utkow...@solidfire.com] Sent: Tuesday, January 13, 2015 5:11 PM To: dev@cloudstack.apache.org Subject: Re: [QUESTION] Locking versus State Transitioning That is a good question, Nitin. I have not modified that logic. I just copy and pasted it to e-mail because I was curious about the lock versus state trans

Re: [QUESTION] Locking versus State Transitioning

2015-01-13 Thread Mike Tutkowski
Tuesday, January 13, 2015 5:11 PM > To: dev@cloudstack.apache.org > Subject: Re: [QUESTION] Locking versus State Transitioning > > That is a good question, Nitin. I have not modified that logic. I just copy > and pasted it to e-mail because I was curious about the lock versus st