- Jan 29, 2018
-
-
Steven Murray authored
Revert "cta/CTA#186 CTA should cope with idle database connections being dropped by the database server" This reverts commit 1be86a70.
-
Steven Murray authored
Refactored RdbmsCatalogue::getTapesForWriting() to be like OracleCatalogue::filesWrittenToTape()
-
Steven Murray authored
-
Steven Murray authored
OracleCatalogue::filesWrittenToTape() should now transparently re-connect to the database.
-
Steven Murray authored
RdbmsCatalogue::getTapesForWriting() should now transparently re-connect to the database.
-
- Jan 26, 2018
-
-
Steven Murray authored
Admin commands should now transparently re-connect to the database.
-
Steven Murray authored
Fixed the following offending method: RdbmsCatalogue::prepareForNewFile() Added the following unit-test that explicitly tests for a UserError exception: cta_catalogue_CatalogueTest.prepareForNewFile_no_archive_routes
-
- Jan 25, 2018
-
-
Steven Murray authored
Done
-
- Jan 22, 2018
-
-
Steven Murray authored
-
Steven Murray authored
-
- Jan 12, 2018
-
-
Steven Murray authored
Reduced to the minium the number of database connections used by createSameSchemaInTwoSeparateInMemoryDatabases
-
- Jan 11, 2018
-
-
Steven Murray authored
-
Steven Murray authored
-
Steven Murray authored
-
- Nov 27, 2017
-
-
Steven Murray authored
-
- Nov 20, 2017
-
-
Steven Murray authored
-
- Nov 14, 2017
-
-
Steven Murray authored
Partially implemented. The Catalogue::getTapePools() method called by the CTA front-end now returns an std::list of TapePool structures, where each structure now has the following additional "summary" member-variables: /** * The total number of tapes in the pool. */ uint64_t nbTapes; /** * The total capacity of all the tapes in the pool in gigabytes * (10^9 bytes). */ uint64_t capacityGigabytes; /** * The total amount of compressed data written to all the tapes * in the pool in gigabytes * (10^9 bytes). */ uint64_t dataGigabytes; These three additional member-variables can now be used by the CTA front-end to provide the summary information requested by issue #136 in the appropriate format / presentation. For example, the CTA front-end could subtract dataGigabytes from capacityGigabytes in order to calculate the approximate amount of free space. Please note that this calculation could potentially result in a negative number due to the fact that capacityGigabytes is an approximate number entered by a tape operator for each tape when they register those tapes into CTA. In such a case the CTA front-end should display 0 and not the negative result.
-
Steven Murray authored
Moved TapePool from common::dataStructures:: to catalogue:: because it belongs to the Catalogue interface
-
- Nov 10, 2017
-
-
Steven Murray authored
-
Steven Murray authored
-
- Nov 09, 2017
-
-
Steven Murray authored
-
Steven Murray authored
-
Steven Murray authored
-
- Nov 08, 2017
-
-
Steven Murray authored
-
- Oct 20, 2017
-
-
Eric Cano authored
-
- Oct 03, 2017
-
-
Steven Murray authored
Replaced set_target_properties( .. .. INSTALL_RPATH ..) with set_property (TARGET .. APPEND PROPERTY INSTALL_RPATH ..)
-
Steven Murray authored
-
Steven Murray authored
-
Steven Murray authored
-
- Sep 27, 2017
-
-
Steven Murray authored
-
- Sep 26, 2017
-
-
Steven Murray authored
If the whole contents of the ARCHIVE_FILE and TAPE_FILE tables are listed without a search criteria and with an ORDER BY clause then the first row back from the database will take a relatively long period of time to be returned. This is because the database will have to sort every row before returning the first. This long period of time will cause the current (non SSI) cta command-line tool to time out.
-
Steven Murray authored
-
- Sep 21, 2017
-
-
Steven Murray authored
-
Steven Murray authored
-
Steven Murray authored
-
Steven Murray authored
-
Steven Murray authored
Without this index we got errors like: [root@p06253947b39467 ~]# cta af ls --instance cta --path /eos/dev/test/gcancio/10072017/file_2167 Failed to execute the command. Reason: Failed to open root://10.16.135.81:10955//Y3Rh&YWY=&bHM=&LS1pbnN0YW5jZQ==&Y3Rh&LS1wYXRo&L2Vvcy9kZXYvdGVzdC9nY2FuY2lvLzEwMDcyMDE3L2ZpbGVfMjE2Nw==: [ERROR] Operation expired [root@p06253947b39467 ~]# With this index we execute the same query in less than a second: [root@p06253947b39467 ~]# time cta af ls --instance cta --path /eos/dev/test/gcancio/10072017/file_2167 289440 1 I20170 1381 51096 cta 18965 1006 ADLER32 0XFBA23F1D german_raw gcancio c3 1499697578 /eos/dev/test/gcancio/10072017/file_2167 real 0m0.590s user 0m0.005s sys 0m0.006s [root@p06253947b39467 ~]#
-
- Aug 18, 2017
-
-
Steven Murray authored
The reponse rate of the CTA catalogue to "eos rm" commands was too slow. The response rate was around 20Hz when using the CTA/EOS production database configured with 10 database connections. The rate has now been increased to 30Hz by adding the TAPE_FILE_ARCHIVE_FILE_ID_FK index.
-
- Aug 17, 2017
-
-
Steven Murray authored
This reverts commit 3b1855a8. The 'SELECT FOR UPDATE' was not the bottle neck. I am putting it back for now.
-
Steven Murray authored
-