qfilexchgd: pass correct transaction_seq for delayed transaction
This commit is contained in:
parent
203b3fd70b
commit
0c122f670e
@ -120,7 +120,7 @@ class DomainState:
|
|||||||
tmp = self.waiting_sender
|
tmp = self.waiting_sender
|
||||||
self.waiting_sender = None
|
self.waiting_sender = None
|
||||||
if tmp.send_state == 'has_clean_pendrive':
|
if tmp.send_state == 'has_clean_pendrive':
|
||||||
if tmp.handle_transfer(self.name):
|
if tmp.handle_transfer(self.name, self.delayed_transaction_seq):
|
||||||
tmp.send_state = 'idle'
|
tmp.send_state = 'idle'
|
||||||
|
|
||||||
if not req_ok:
|
if not req_ok:
|
||||||
@ -155,6 +155,7 @@ class DomainState:
|
|||||||
if self.ask_to_umount(vmname):
|
if self.ask_to_umount(vmname):
|
||||||
target.rcv_state='waits_to_umount'
|
target.rcv_state='waits_to_umount'
|
||||||
target.waiting_sender=self
|
target.waiting_sender=self
|
||||||
|
self.delayed_transaction_seq=transaction_seq
|
||||||
logproc( 'target domain ' + target.domain_id + ' is not idle, now ' + target.rcv_state)
|
logproc( 'target domain ' + target.domain_id + ' is not idle, now ' + target.rcv_state)
|
||||||
return False
|
return False
|
||||||
if self.allowed_seq is not None:
|
if self.allowed_seq is not None:
|
||||||
|
Loading…
Reference in New Issue
Block a user