Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • CTA CTA
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 130
    • Issues 130
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 9
    • Merge requests 9
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • ctacta
  • CTACTA
  • Issues
  • #145
Closed
Open
Issue created Sep 07, 2022 by Joao Afonso@afonsoOwner

Modify EOS to fill new fields passed to CTA

For reference check: #86 (comment 5832864)

Previously, these fields were passed to CTA as part of the extended attributes xattr:

  • disk_file_id
  • archive_file_id
  • storage_class

As the result of the collaboration with dCache, it was decided that these would be promoted to first class citizen fields: #86 (comment 5832864)

message Metadata {
   uint64 fid                  =  1;      //< file/container id
   uint64 pid                  =  2;      //< parent id
   cta.common.Clock ctime      =  3;      //< change time
   cta.common.Clock mtime      =  4;      //< modification time
   cta.common.Clock btime      =  5;      //< birth time
   cta.common.Clock ttime      =  6;      //< tree modification time
   cta.common.OwnerId owner    =  7;      //< ownership
   uint64 size                 =  8;      //< size 
   sint32 mode                 = 10;      //< mode
   string lpath                = 11;      //< logical path
   map<string, string> xattr   = 12;      //< xattribute map
   cta.common.ChecksumBlob csb = 13;      //< array of checksums
+
+  // Additions for dCache integration
+
+  string disk_file_id         = 14;      //< String identifier for Disk File ID (= fid above)
+  uint64 archive_file_id      = 15;      //< CTA Archive File ID
+  string storage_class        = 16;      //< CTA Storage Class
 };

Therefore, we need to update EOS to fill in these new fields.


In addition to these fields, we will also update EOS to pass cta.common.Clock btime to CTA. This is required by #86.


Corresponding EOS issue: https://its.cern.ch/jira/projects/EOS/issues/EOS-5394

Edited Sep 22, 2022 by Joao Afonso
Assignee
Assign to
Time tracking