Uploaded image for project: 'CernVM'
  1. CernVM
  2. CVM-1643

Ensure that stale session token file is deleted after transaction to gateway ends

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: CernVM-FS 2.5.1
    • Fix Version/s: CernVM-FS 2.5.2
    • Component/s: CVMFS
    • Labels:
      None
    • Platforms:
      x86_64-slc6-gcc48-opt
    • Development:

      Description

      Ensure that the file containing the session token ("/var/spool/cvmfs/<repo_name>/session_token") is deleted when the transaction ends, either at the end of "cvmfs_server publish" or "cvmfs_server abort".

      When short transactions are opened and commited at a very high rate (as in the integration test 800*), it's possible to see the "cvmfs_swissknife" command picking up a stale version of the session token.

      It seems this problem is caused by the fact that the session token file is reused (the file is truncated when a new token is written).

        Attachments

          Activity

            People

            • Assignee:
              rpopescu Radu Popescu
              Reporter:
              rpopescu Radu Popescu
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: