1. 14 Oct, 2010 1 commit
  2. 13 Oct, 2010 3 commits
  3. 08 Oct, 2010 5 commits
  4. 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
  5. 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
  6. 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
  7. 21 Sep, 2010 1 commit
  8. 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
  9. 31 Aug, 2010 2 commits
  10. 30 Aug, 2010 4 commits
  11. 27 Aug, 2010 1 commit
  12. 11 Aug, 2010 1 commit
  13. 10 Aug, 2010 2 commits
  14. 09 Aug, 2010 2 commits
  15. 06 Aug, 2010 1 commit
  16. 05 Aug, 2010 1 commit
  17. 04 Aug, 2010 1 commit
    • Eric Cano's avatar
      Added a new VID column in the TapeCopy. Created a triggered constraint to... · 41f30f0a
      Eric Cano authored
      Added a new VID column in the TapeCopy. Created a triggered constraint to force coherency of the VID, and hence detect incompatibilities in the old code.
      
      Made the procedure TG_DEFAULTMIGRSELPOLICY easier to read by dropping ambiguities, and added to it the no 2 tape copies of the same file on one tape criteria.
      
      41f30f0a
  18. 03 Aug, 2010 1 commit
  19. 02 Aug, 2010 1 commit
  20. 28 Jul, 2010 2 commits
  21. 27 Jul, 2010 1 commit
  22. 22 Jul, 2010 2 commits