forked from DIRACGrid/DIRAC
-
Notifications
You must be signed in to change notification settings - Fork 0
Dirac v6r9
Stephane Poss edited this page Nov 20, 2013
·
7 revisions
The main new feature in the release is starting to use the new version of the Request Management System together with the Data Management system. Those new features that need special care when upgrading from previous versions to v6r9 are outlined below.
Full instructions and a general overview of the new version of RMS can be found here.
As from v6r9p5
use ResourceManagementDB;
ALTER TABLE SpaceTokenOccupancyCache MODIFY Free DOUBLE NOT NULL Default 0;
ALTER TABLE SpaceTokenOccupancyCache MODIFY Guaranteed DOUBLE NOT NULL Default 0;
ALTER TABLE SpaceTokenOccupancyCache MODIFY Total DOUBLE NOT NULL Default 0;
The transferAndRegister and transferAndRegisterFailover methods have a different signature. They used to be
def tranferAndRegister( self, fileName, localPath, lfn, destinationSEList, fileGUID = None, fileCatalog = None )
def transferAndRegisterFileFailover( self, fileName, localPath, lfn, targetSE, failoverSEList, fileGUID = None, fileCatalog = None )
And they are now
def transferAndRegisterFile( self,
fileName,
localPath,
lfn,
destinationSEList,
fileMetaDict,
fileCatalog = None )
def transferAndRegisterFileFailover( self,
fileName,
localPath,
lfn,
targetSE,
failoverSEList,
fileMetaDict,
fileCatalog = None )
Notice the fileMetaDict in the new signature instead of the fileGUID.