1. 28 Oct, 2010 2 commits
  2. 27 Oct, 2010 4 commits
  3. 26 Oct, 2010 3 commits
  4. 25 Oct, 2010 1 commit
  5. 22 Oct, 2010 3 commits
  6. 21 Oct, 2010 1 commit
    • Eric Cano's avatar
      bug #72215: Remove the TAPEGATEWAYREQUEST table from the schema, and drop the... · e42bbbe4
      Eric Cano authored
      bug #72215: Remove the TAPEGATEWAYREQUEST table from the schema, and drop the triggers that populate it.
      
      Fixed tg_attachtapestostreams which did not behave properly when recreating the tape entry (now done with a clean wiped DB).
      
      Changed the perl script accordingly and added a reset of the state of the tapes from the tapepool for the serviceclass.
      
      Now migrates successfully again.
      
      e42bbbe4
  7. 20 Oct, 2010 2 commits
  8. 18 Oct, 2010 1 commit
    • Eric Cano's avatar
      bug #72215: Remove the TAPEGATEWAYREQUEST table from the schema, and drop the... · b7ca8b8b
      Eric Cano authored
      bug #72215: Remove the TAPEGATEWAYREQUEST table from the schema, and drop the triggers that populate it.
      
       Various improvements in the test script:
      
      - Tighter control of the parameters of mighunterd
      - Factorized the loop checking with timeout for all migrations.
      - Created additionnal functions to recompile and check invalid status.
      
      b7ca8b8b
  9. 15 Oct, 2010 4 commits
  10. 14 Oct, 2010 1 commit
  11. 13 Oct, 2010 3 commits
  12. 08 Oct, 2010 5 commits
  13. 07 Oct, 2010 4 commits
    • Eric Cano's avatar
      bug #72215: Remove the TAPEGATEWAYREQUEST table from the schema, and drop the... · 6f2a0706
      Eric Cano authored
      bug #72215: Remove the TAPEGATEWAYREQUEST table from the schema, and drop the triggers that populate it.
      
      OraTapeGatewaySvc.cpp:
      - Fixed indentation
      - Added missing throw.
      
      tape_gateway_testing_round_001_tradeoffs.sql
      - Added removal of VID when a tapecopy gets to be retried.
      
      6f2a0706
    • Eric Cano's avatar
      bug #72215: Remove the TAPEGATEWAYREQUEST table from the schema, and drop the... · 6f60c50b
      Eric Cano authored
      bug #72215: Remove the TAPEGATEWAYREQUEST table from the schema, and drop the triggers that populate it.
      
      Added explicit namesapce as there is no using clause for std
      Moved very local variable to the top of the function. Otherwise gcc optimised them out in spite of -O0
      Changed the expected type to the one that should be expected (OCCI_SQLT_INT).
      Changed the index from i to i+1 as columns are counted from 1.
      
      6f60c50b
    • Eric Cano's avatar
      bug #72215: Remove the TAPEGATEWAYREQUEST table from the schema, and drop the... · c641e5de
      Eric Cano authored
      bug #72215: Remove the TAPEGATEWAYREQUEST table from the schema, and drop the triggers that populate it.
      
      Reverting stager_oracle_create.sql mistakenly checked in.
      
      c641e5de
    • Eric Cano's avatar
      bug #72215: Remove the TAPEGATEWAYREQUEST table from the schema, and drop the... · 0267b0fc
      Eric Cano authored
      bug #72215: Remove the TAPEGATEWAYREQUEST table from the schema, and drop the triggers that populate it.
      
      Added support for unrelated schema changes in castor::tape::tapegateway::ora::OraTapeGatewaySvc::getFailedMigrations, which gets a cursor of type TAPECOPY%ROWTYPE.
      
      Added small log facility package for easy debugging inside DB (as tape_gateway_log_facility_implementation.sql tape_gateway_log_facility_interface.sql)
      
      Minor fix in policy testing package creation script.
      
      Fixed other bugs introduced in the tape gateway tables removal (tape_gateway_testing_round_001_tradeoffs.sql):
      - migHunterCleanUp: Adding proper exception raising in case of error finding the service class
      - tg_getTapeWithoutDriveReq returned vdqm request ID instead of tape gateway request ID. Fixed
      - tg_attachTapesToStreams: Fixed vdqm request ID being put in tape instead of stream, plus wrong location for the piece of code updating the stream
      - tg_startTapeSession: Added missing commits in some execution pathes
      - tg_endtapesession did not commit  (And it should, so now, it does)
      
      0267b0fc
  14. 01 Oct, 2010 2 commits
    • Eric Cano's avatar
      bug #72215: Remove the TAPEGATEWAYREQUEST table from the schema, and drop the... · 76b48921
      Eric Cano authored
      bug #72215: Remove the TAPEGATEWAYREQUEST table from the schema, and drop the triggers that populate it.
      
      In tape_gateway_testing_round_001_tradeoffs.sql added fix for tg_getTapeWithoutDriveReq which returned the VDQM volume request Id instead of the TapeGatewayRequestId.
      
      76b48921
    • Eric Cano's avatar
      bug #72215: Remove the TAPEGATEWAYREQUEST table from the schema, and drop the... · dc39fc90
      Eric Cano authored
      bug #72215: Remove the TAPEGATEWAYREQUEST table from the schema, and drop the triggers that populate it.
      
      Testing phase: rtcpclientd should be allowed to break the rule 'VID must be defined  in state TAPECOPY_SELECTED' (as it breaks it, and should be left unmodified). Changing the trigger for the enforcement of this rule.
      
      Made new version of  switchToTapegatewayd-no-triggers.sql that does not add the now deprecated triggers that used to create tapegateway requests and subrequests.
      
      dc39fc90
  15. 30 Sep, 2010 1 commit
    • Eric Cano's avatar
      bug #72215: Remove the TAPEGATEWAYREQUEST table from the schema, and drop the... · 6a392261
      Eric Cano authored
      bug #72215: Remove the TAPEGATEWAYREQUEST table from the schema, and drop the triggers that populate it.
      
      Testing phase: rtcpclientd should be allowed to break the rule 'VID must be defined  in state TAPECOPY_SELECTED' (as it breaks it, and should be left unmodified). Chaning the trigger for the enforcement of this rule.
      
      6a392261
  16. 21 Sep, 2010 1 commit
  17. 20 Sep, 2010 1 commit
    • Eric Cano's avatar
      bug #72215: Remove the TAPEGATEWAYREQUEST table from the schema, and drop the... · 56eea4b6
      Eric Cano authored
      bug #72215: Remove the TAPEGATEWAYREQUEST table from the schema, and drop the triggers that populate it.
      
      Droped the tape gateway request table.
      Altered accordingly the involved SQL procedures.
      Modifications are in 
      test/tapegateway_release_tests/tape_gateway_refactor_to_drop_tgrequest_table_and_triggers.sql
      
      Changed signature of TapeGatewayRequesr_Cur to match changes of
      tg_getTapeWithDriveReqs' signature (and updated C++ wrapper)
      
      Refactored the function vdqmGatewayHelper::submitToVdqm
      into createRequestForAggregator to match the API naming convention of the VDQM.
      
      Added howto for installing the stager schema into a oracle express edition for tests.
      
      Table is now droped. We still have to tackle the triggers: drop them and insert the proper API calls where they got triggered.
      
      56eea4b6
  18. 31 Aug, 2010 1 commit