[root] / trunk / proof / proof / src / TDataSetManagerFile.cxx Repository:
ViewVC logotype

Log of /trunk/proof/proof/src/TDataSetManagerFile.cxx

Parent Directory Parent Directory


Links to HEAD: (view) (download) (as text) (annotate)
Sticky Revision:

Revision 48060 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Dec 15 18:53:16 2012 UTC (2 years, 1 month ago) by ganis
File length: 75479 byte(s)
Diff to previous 42798
   From Dario: patch introducing an improved dataset management model where the PROOF (ROOT)
   dataset manager is a light frontend to the experiment file catalogs; TDataSetManagerFile
   is still used as local cache of the experiment information or to store the work-in-progress
   status of the dataset manager daemon. This model is expected to solve the scalability issues
   observed currently at AAFs.
   The patch includes the new class TDataSetManagerAliEn with the first concrete implementation
   of experiment catallog interface. The equivalent for ATLAS will follow.

Revision 42798 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jan 26 16:03:44 2012 UTC (2 years, 11 months ago) by ganis
File length: 72965 byte(s)
Diff to previous 41786
Do not rely on adjacency to remove duplicates

Revision 41786 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Nov 4 17:06:37 2011 UTC (3 years, 2 months ago) by ganis
File length: 72965 byte(s)
Diff to previous 37934
   In WriteDataSet, remove call to Sort() which modifies the order of the initial
   collection, uselessly hardening any comparison and confusing any expectation.

Revision 37934 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Feb 2 11:26:15 2011 UTC (3 years, 11 months ago) by ganis
File length: 73019 byte(s)
Diff to previous 36015
  In TDataSetManagerFile::NotifyUpdate improve handling of the case when the global list file
  does not exist yet (new dataset directory). Fixes error messages during editing dataset
  operations.

Revision 36015 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Oct 1 13:54:46 2010 UTC (4 years, 3 months ago) by ganis
File length: 72757 byte(s)
Diff to previous 35120
fix a bunch of Coverity FORWARD_NULL issues

Revision 35120 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Sep 2 11:11:23 2010 UTC (4 years, 4 months ago) by ganis
File length: 72743 byte(s)
Diff to previous 33547
Fix possible memory leaks found by coverity

Revision 33547 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue May 18 10:19:45 2010 UTC (4 years, 8 months ago) by ganis
File length: 72570 byte(s)
Diff to previous 33521
Add support for retrieving only the short version (global meta information)

Revision 33521 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon May 17 14:39:33 2010 UTC (4 years, 8 months ago) by ganis
File length: 72427 byte(s)
Diff to previous 33447
  - In GetDataSets, fix an issue with executing 'refresh'
  - Set the default cache update period to 0

Revision 33447 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon May 10 13:26:51 2010 UTC (4 years, 8 months ago) by ganis
File length: 72457 byte(s)
Diff to previous 33381
   - Change the name of the recently introduced option bit controlling the check for the staged
     status of a file from kCheckStageStatus to kNoStagedCheck (the default is to check and the
     bit is used to skip the check).
   - Fix an issue with checking this option
   - Change the recently introduced option to ScanDataSet 'C' (or "checkstaged:") to 'I' (or
     "nostagedcheck:")
   - Propagate the change to 'pq2-verify'

Revision 33381 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed May 5 13:04:48 2010 UTC (4 years, 8 months ago) by ganis
File length: 72409 byte(s)
Diff to previous 33357
Read the location of the lock file directly from the remote file instead of copying it locally

Revision 33357 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue May 4 06:56:18 2010 UTC (4 years, 8 months ago) by ganis
File length: 72578 byte(s)
Diff to previous 33257
   In proof/proof:
   - Add more flexibility to TDataSetManager::ScanDataSet, the internal low-level method
     used in dataset verification operations; there are now three option switches to control
     - the set of files to process
         - all files,  the ones marked as staged,  the ones marked as non staged
     - which pre-action to do on these files:
         - check the 'staged' status, open and/or touch the files marked as staged
     - which action to do on the files
         - no-action, full processing, locate only, stage request
     Remarks:
       - checking the stage status on 'all files' with 'no-action; can be used to fix the
         'is-staged' bit on the dataset
       - locate-only and 'stage-request' are done via the TFileStager interface and are fast
         non-blocking actions
   - Add public method TDataSetManager::ScanDataSet(const char *uri, const char *opts) to control
     via a 'const char *' option the new functionality
   - Separate out the extraction of the meta-information in the new method TDataSetManager::FillMetaData
     which can be called recursively on the file sub-directories; this automatically adds support
     for sub-directories in datasets, which was missing and now required by Atlas.
   - Adapt TProofServ and TDataSetManagerFile to the new functionality in TDataSetManager .

   In proof/pq2:
   - Add support for the new options in dataset verification
   - Fix issue with regexp parsing in dataset registration

   In etc/proof/utils/pq2/pq2-verify:
   - Add support for the new options in dataset verification

Revision 33257 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Apr 28 06:48:47 2010 UTC (4 years, 8 months ago) by ganis
File length: 71546 byte(s)
Diff to previous 33209
   - In TDataSetManagerFile::ShowCache() / ClearCache(), use the new format for the
     cached files introduced to fix a problem on Windows (patch #33092)
   - In TDataSetManager::ParseUri, allow again for '.' in dataset names (this was not
     in the reg expression when adding support for wild cards (patch #33091)

Revision 33209 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Apr 26 10:27:40 2010 UTC (4 years, 8 months ago) by ganis
File length: 71512 byte(s)
Diff to previous 33156
    - TDataSetManager, TDataSetManagerFile
      - Add options to get a list of all dataset registered names from ScanDataSets
        (option kList; the result is a TMap of {TObjString, TObjString} with the second
        TObjString empty.
      - Support wild cards in ScanDataSet .
    - TProof, TProofServ
      - Add interface to TDataSetManager::ShowCache/ClearCache (TProof::ShowDataSetCache,
        TProof::ClearDataSetCache)
      - If a non-default dataset directory was specified and could not be validated, do not
        initialize the default dataset, as this could be misleading. An warning is issued
        on the client shell.

Revision 33156 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Apr 23 12:46:14 2010 UTC (4 years, 9 months ago) by ganis
File length: 69740 byte(s)
Diff to previous 33126
   - Fix an issue with determining the path fo the lock file
   - Fix an issue with matching wild carsd for dataset names in listing datasets
   - Fix an issue with defaults in GetDataSets .

Revision 33126 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Apr 22 07:26:25 2010 UTC (4 years, 9 months ago) by ganis
File length: 67999 byte(s)
Diff to previous 33092
Slight modifications to fix warnings in nightlies

Revision 33092 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Apr 19 14:43:41 2010 UTC (4 years, 9 months ago) by ganis
File length: 68281 byte(s)
Diff to previous 33091
Fix small issue with the pasring of a regular expression

Revision 33091 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Apr 19 14:14:32 2010 UTC (4 years, 9 months ago) by ganis
File length: 68281 byte(s)
Diff to previous 33090
   Patch implementing a cache for TDataSetManagerFile.
   This mainly used to improve the speed of TDataSetManager::ShowDataSets, which is run very often
   by users and may be very slow if the number of dataset is large. The cache is also used to cache
   frequently received dataset objects.
   The listing information (default result of TDataSetManager::ShowDataSets) is cached at {group,user}
   level. A new file 'dataset.list', located in the top dataset directory, contains updated information
   about the available datasets and dataset listings. This file is updated each time WriteDataSet or
   RemoveDataSet are called .
   The cache is automatically enabled if the dataset repository is remote (the remoteness of a directory
   is determined usign the same technique used for files). It can also be enabled/disabled using the
   appropriate switches.
   The content of the cache can be displayed using TDataSetManager::ShowCache and cleared using
   TDataSetManager::ClearCache. The listing information can be refreshed at any time (at least the one
   corresponding to owned datasets) with an option to TDataSetManager::ShowDataSets .

   The patch also fixes a few issues ith wildcard support in parsing the dataset URI.

Revision 33090 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Apr 19 13:18:45 2010 UTC (4 years, 9 months ago) by ganis
File length: 32793 byte(s)
Diff to previous 33086
Add ctor taking only the option string (group is set to 'default', user to the running user)

Revision 33086 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Apr 18 18:15:56 2010 UTC (4 years, 9 months ago) by ganis
File length: 32345 byte(s)
Diff to previous 32930
   - Some changes towards a parallel version of VerifyDataSet:
     - Make the lower level of ScanDataSet a static in TDataSetManager and separate out
       the part extracting the file meta-information into a dedicated method ScanFile
     - In TDSetElement, rename the list of associated files to associated objects, so that
       it can be more generally used (it was not yet used for associated files and it
       was anyhow supposed to be a list of TObjString's).

   - Move the parsing of the recently introduced 'DataSet.SrvMaps' env in TDataSetManager
     (instead of TProof). This is more logical and it makes easier to apply the enable
     the server mappings during staging requests via VerifyDataSet.

   - Add a missing protection in TProof::AssertDataSet potentially causing crashes in the
     case a dataset is not found.

Revision 32930 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Apr 9 16:18:32 2010 UTC (4 years, 9 months ago) by pcanal
File length: 41641 byte(s)
Diff to previous 32217
Prefer the use of InheritsFrom(TClass*) over InheritsFrom(const char*) as long as 
it does not increase the library dependencies.

Revision 32217 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Feb 4 17:39:16 2010 UTC (4 years, 11 months ago) by ganis
File length: 41634 byte(s)
Diff to previous 32031
   Add the possibility to add files to a dataset. This is achieved with a new option
   'U' (for update) to RegisterDataSet. Feature requested by ATLAS.

Revision 32031 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jan 15 19:29:24 2010 UTC (5 years ago) by ganis
File length: 40815 byte(s)
Diff to previous 31840
Fix a problem with real-time notification during dataset verification

Revision 31840 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Dec 11 10:01:17 2009 UTC (5 years, 1 month ago) by ganis
File length: 40800 byte(s)
Diff to previous 30649
   Fix a last bunch of Coverity issues

Revision 30649 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Oct 9 12:54:06 2009 UTC (5 years, 3 months ago) by ganis
File length: 40806 byte(s)
Diff to previous 30421
   Solve a consistency problem in checking URLs for duplication when adding them
   to the relevant TFileInfo.

Revision 30421 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Sep 24 17:20:09 2009 UTC (5 years, 4 months ago) by ganis
File length: 40816 byte(s)
Diff to previous 30186
   Some improvements in the dataset manager:
    - Introduce the possibility to 'trust' the information provided by the user in the TFileCollection
      object sent over upon registration (by default the status bits and the meta information are reset).
    - Give the admin has the possibility to configure the dataset manager in such a way that the request
      for trusting the information is ignored. A new bit TDataSetManager::kTrustInfo controls that and the
      configuration option controlling it is called "Ti" (for 'Trust Info'; equivalent of "Av" for 'Allow Verification').
      The current default is that the bit is set.
    - Remove the unused bit TDataSetManager::kAllowStaging (staging is controlled externally, not by the
      dataset manager)
    - Fix a problem with browsing the existing datasets duplicating the same information in some cases.

Revision 30186 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Sep 16 09:57:45 2009 UTC (5 years, 4 months ago) by ganis
File length: 39699 byte(s)
Diff to previous 30070
When showing the available datasets print out also the location of the repository

Revision 30070 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Sep 8 15:27:39 2009 UTC (5 years, 4 months ago) by ganis
File length: 39639 byte(s)
Diff to previous 29962
If the tree has 0 entries set the value to 0 in TFileInfo instead of leaving the default -1

Revision 29962 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Aug 28 09:21:16 2009 UTC (5 years, 4 months ago) by ganis
File length: 39605 byte(s)
Diff to previous 29171
   - Correctly classify as TTree all TTree derived classes (e.g. TNtuple's)
   - Fix a problem in saving the end-point URL for local files
   - Improve realtime notification during 'verify'

Revision 29171 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jun 23 14:13:06 2009 UTC (5 years, 7 months ago) by brun
File length: 39140 byte(s)
Diff to previous 29133
From Gerri:
    - Fix a few problems found running in valgrind:
       - In XrdROOTMgr::Validate, add missing protection against inproper use of a
         temporary file when in non debug mode
       - Fix a problem with inproper deletion of XrdProofWorker objects when working
         with a dynamically varying 'proof.conf'
       - In TProof::HandleInputMessage, fix possible double delete after kPROOF_STOPPROCESS
    - Fix a couple of issues on reconnection to a running session:
       - make sure that the dialog buttons are in the correct state
       - make sure that logs are redirected
    - Fix an issue with the displaying speed of very large log files (bufferize instead of
      doing line-by-line)
    - In TProof::Draw, change the type of a notification message from 'error' to 'debug'
    - Fix coding conventions in TDataSetManagerFile.cxx

Revision 29133 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jun 22 12:28:50 2009 UTC (5 years, 7 months ago) by brun
File length: 39114 byte(s)
Copied from: trunk/proof/proof/src/TProofDataSetManagerFile.cxx revision 29121
Diff to previous 28735
From Gerri:
Rename TProofDataSetManager and TProofDataSetManagerFile to TDataSetManager and TDataSetManagerFile.
These classes are managers of TFileCollection which do not have anything strictly dependent on PROOF.
So far they were only used internally by PROOF, but they are going to be exposed to more public for generic
file collection handling. It is the right time to give them a more proper name.

Revision 28735 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu May 28 07:21:54 2009 UTC (5 years, 7 months ago) by ganis
Original Path: trunk/proof/proof/src/TProofDataSetManagerFile.cxx
File length: 39319 byte(s)
Diff to previous 28593
Add missing protection in GetDataSet

Revision 28593 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed May 13 10:48:14 2009 UTC (5 years, 8 months ago) by ganis
Original Path: trunk/proof/proof/src/TProofDataSetManagerFile.cxx
File length: 39313 byte(s)
Diff to previous 28590
   Fine-tune the interface to the new dataset functionality

Revision 28590 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed May 13 07:17:36 2009 UTC (5 years, 8 months ago) by ganis
Original Path: trunk/proof/proof/src/TProofDataSetManagerFile.cxx
File length: 38770 byte(s)
Diff to previous 28576
   - Fix a potential source of deadlocks due to the usage of vnsprintf
   - Fixes for permission related failures during initialization of dataset managers:
     - Add the possibility to define the dataset information sources via the
       directive 'xpd.datasetsrc'. In this way the permissions should be
       set correctly and the related problems disappear.
     - In TProofDataSetManagerFile, switch in browse mode (instead of failing
       construction) if the write permissions are not present.

Revision 28576 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue May 12 16:03:53 2009 UTC (5 years, 8 months ago) by ganis
Original Path: trunk/proof/proof/src/TProofDataSetManagerFile.cxx
File length: 38110 byte(s)
Diff to previous 28395
   - Add new methods to interface to the new functionality available in TFileCollection
     to obtain information on "per-server" base
   - Add a new method ShowDataSets to encapsulate the different printing options.

Revision 28395 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Apr 30 09:27:53 2009 UTC (5 years, 8 months ago) by ganis
Original Path: trunk/proof/proof/src/TProofDataSetManagerFile.cxx
File length: 37897 byte(s)
Diff to previous 25903

   Implement two new functions:

      1.  TProof::SetDataSetTreeName(<dataset>,<treename>)
          Sets/changes the default tree name in the dataset (TFileCollection)

      2.  TProof::ExistsDataSet(<dataset>)
          Returns kTRUE if 'dataset' exists.

   Fix a problem with attaching to an existing session in TProof::Open .

Revision 25903 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Oct 21 08:46:36 2008 UTC (6 years, 3 months ago) by ganis
Original Path: trunk/proof/proof/src/TProofDataSetManagerFile.cxx
File length: 37316 byte(s)
Diff to previous 25063
In RegisterDataSet do not delete the TFileCollection object: it is owned by the caller

Revision 25063 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Aug 5 20:58:56 2008 UTC (6 years, 5 months ago) by ganis
Original Path: trunk/proof/proof/src/TProofDataSetManagerFile.cxx
File length: 37436 byte(s)
Diff to previous 23631
A few optimization in ScanDataSet from Jan-Fiete

Revision 23631 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu May 1 10:50:11 2008 UTC (6 years, 8 months ago) by rdm
Original Path: trunk/proof/proof/src/TProofDataSetManagerFile.cxx
File length: 37525 byte(s)
Diff to previous 23453
Fix coding conventions.

Revision 23453 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Apr 23 12:42:18 2008 UTC (6 years, 9 months ago) by ganis
Original Path: trunk/proof/proof/src/TProofDataSetManagerFile.cxx
File length: 37522 byte(s)
Diff to previous 23435
From Jan-Fiete: make a couple of adjustments and add a couple of protections

Revision 23435 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Apr 23 10:30:50 2008 UTC (6 years, 9 months ago) by ganis
Original Path: trunk/proof/proof/src/TProofDataSetManagerFile.cxx
File length: 37403 byte(s)
Diff to previous 23248
Fix gcc-4.3 warnings

Revision 23248 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Apr 16 09:09:35 2008 UTC (6 years, 9 months ago) by ganis
Original Path: trunk/proof/proof/src/TProofDataSetManagerFile.cxx
File length: 37400 byte(s)
Diff to previous 23075
  - Fix a few issues with BrowseDataSets.
  - Rename ParseDataSetUri to ParseUri
  - Add a static method CreateUri to format a dataset Uri from group, user, dataset name
    and object name
  - Automatically fill group="default" and user="<real_user>" when either of the two
    are not passed

Revision 23075 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Apr 9 09:10:25 2008 UTC (6 years, 9 months ago) by ganis
Original Path: trunk/proof/proof/src/TProofDataSetManagerFile.cxx
File length: 37211 byte(s)
Copied from: branches/dev/proof/proof/proof/src/TProofDataSetManagerFile.cxx revision 23004
Diff to previous 22999

   From Jan-Fiete Grosse-Oetringhaus (ALICE) and me.
   Patch introducing the improved dataset manager developed by ALICE.
   The client side interface is basically unchanged, the biggest change is the renaming
   of TProof::CreateDataSet to TProof::RegisterDataSet.
   On the server side the relevant code has ben extracted from TProofServ and hidden
   behind an inteface class TProofDataSetManager describing the functionality needed by
   TProofServ, and an implementation class TProofDataSetManagerFile handling dataset
   meta data saved into ROOT files. TProofDataSetManagerFile is instantiated via the
   plugin manager and by default it handles the <sand_box>/datasets area.
   This separation is needed to allow loading implementation based on different backends;
   for example, ATLAS foresees to use a MySQL-based backend.
   A TWiki page with information and examples in on preparation.

Revision 22999 - (view) (download) (as text) (annotate) - [select for diffs]
Added Mon Apr 7 08:31:22 2008 UTC (6 years, 9 months ago) by ganis
Original Path: branches/dev/proof/proof/proof/src/TProofDataSetManagerFile.cxx
File length: 37211 byte(s)
   Patch generalizing the dataset manager in preparation for merging with the trunk:
   - Abstract out generic functionality in the TProofDataSetManager class
   - Move file-system based implementation in TProofDataSetManagerFile
   - Make the dataset manager loadable via plug-in
   - Remove any dependence of XrdProofd on dataset issues (information is now
     trasmitted via 'xpd.putrc' or the groupfile)
   - In TXNetFile, add possibility to set the max number of retries on the fly
   - Fix some issues with defaults

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.

  Diffs between and
  Type of Diff should be a

Sort log by:

Subversion Admin
ViewVC Help
Powered by ViewVC 1.0.9