Commit 4adf8d98 authored by Sebastien Ponce's avatar Sebastien Ponce
Browse files

Fixed selection of sources of d2d (only production nodes were considered,...

Fixed selection of sources of d2d (only production nodes were considered, while readonly and draining are also ok)
parent 84e1c485
......@@ -974,8 +974,8 @@ BEGIN
AND DiskCopy.status = dconst.DISKCOPY_VALID
AND DiskCopy.fileSystem = FileSystem.id
AND FileSystem.diskServer = DiskServer.id
AND DiskServer.status = dconst.DISKSERVER_PRODUCTION
AND FileSystem.status = dconst.FILESYSTEM_PRODUCTION
AND DiskServer.status IN (dconst.DISKSERVER_PRODUCTION, dconst.DISKSERVER_DRAINING, dconst.DISKSERVER_READONLY)
AND FileSystem.status IN (dconst.FILESYSTEM_PRODUCTION, dconst.FILESYSTEM_DRAINING, dconst.FILESYSTEM_READONLY)
AND DiskServer.hwOnline = 1)
WHERE ROWNUM <= 5) LOOP
IF LENGTH(varResult) IS NOT NULL THEN varResult := varResult || '|'; END IF;
......
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