Commit ed5c763e authored by Sebastien Ponce's avatar Sebastien Ponce
Browse files

Fixed bug #105006: Draining disk 2 disk copies are not always repecting the...

Fixed bug #105006: Draining disk 2 disk copies are not always repecting the GuaranteedUserSlotsPercentage
parent 1362fa24
......@@ -148,7 +148,8 @@ class LocalQueue(Queue.Queue):
# we will be back soon and we'll block on the normal queue
transferId = self.backfillQueue.get(False)
try:
if self.queueingTransfers[transferId].transfer.transferType == TransferType.D2DSRC and \
if (self.queueingTransfers[transferId].transfer.transferType == TransferType.D2DSRC or \
self.queueingTransfers[transferId].transfer.transferType == TransferType.D2DDST) and \
self.queueingTransfers[transferId].transfer.replicationType != D2DTransferType.USER:
# we got one, but it's a non-user source disk-to-disk copy and we're busy.
# Hence we move it to the d2dBackfillQueue to leave some room for normal
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment