Generic tags and named snapshots : is there some difference?

This is some kind of continuation of questions :


Some points are still unclear for us.

  1. if we don’t use “-a” option our publish command still create some generic tags, like generic-[date and time].
    I suppose it’s because we have CVMFS_AUTO_TAG=true is our repo settings.

  2. But also we have CVMFS_AUTO_TAG_TIMESPAN=“” in the settings.
    Does it means that our generic tags are never removed ?

  3. If the answer to #2 is yes.
    Does our transactions with generic tags are never impacted by garbage collector ?
    So globally it means that our garbage collector remove nothing. Am I right ?

  4. Final question (for the moment).
    If it’s not the case, and generic tags are impacted by garbage collector.
    Is there some way to distinct “generic” and “named” snapshot except using some name pattern ?

Thank you very much for helping.

The answer to numbers 1, 2, and 3 is yes. I really think that CVMFS_AUTO_TAG_TIMESPAN should default to something like 4 weeks ago on newly created repositories. I’ll make an issue about that.

Thank you very much for your reply. It’s very precious for us.

I wondering, if now we set timestamp for something, for example

Which process will remove generic tags ? Should we start it manually or it will be automatic ?

We actually have more than 1000 tags in our repository.
Could setting TIMESPAN provoke some downtime ?

The next publish command should remove all the tags older than that. It won’t take very long and won’t provoke any downtime.

On the other hand, the next garbage collection that is done after that is likely to take longer while it cleans out deleted files no longer referenced by tags. How much longer depends on how big the repository is and how much is deleted, but it is potentially significant. Garbage collections do exclude other transactions both on the stratum 0 and stratum 1 while they’re running.

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.