Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[counters] Keep counters cache in a single directory #2232

Merged
merged 11 commits into from
Jul 27, 2022

Commits on Jun 15, 2022

  1. [counters] Keep counters cache in a single directory

    Place all counters cache in a single temporary repository. Then, when
    swss starts in cold or fast mode we can clear this directory. Before
    this change, every application is storing counters cache file in a
    different location under different names, so it is hard to manage the
    cache and know which files in /tmp need to be cleaned.
    
    Added UserCache class which helps creating application specific per-user
    cache directories.
    
    Signed-off-by: Stepan Blyschak <stepanb@nvidia.com>
    stepanblyschak committed Jun 15, 2022
    Configuration menu
    Copy the full SHA
    d46a063 View commit details
    Browse the repository at this point in the history

Commits on Jun 24, 2022

  1. handle internal review comments

    Signed-off-by: Stepan Blyschak <stepanb@nvidia.com>
    stepanblyschak committed Jun 24, 2022
    Configuration menu
    Copy the full SHA
    88d49d3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    913e376 View commit details
    Browse the repository at this point in the history
  3. fix lgtm warnings - removed unused variables

    Signed-off-by: Stepan Blyschak <stepanb@nvidia.com>
    stepanblyschak committed Jun 24, 2022
    Configuration menu
    Copy the full SHA
    e54e72b View commit details
    Browse the repository at this point in the history
  4. removed expected lines from config tests since relevant command execu…

    …tion is removed
    
    Signed-off-by: Stepan Blyschak <stepanb@nvidia.com>
    stepanblyschak committed Jun 24, 2022
    Configuration menu
    Copy the full SHA
    1f689ce View commit details
    Browse the repository at this point in the history
  5. Merge branch 'counters_cache' of github.com:stepanblyschak/sonic-util…

    …ities into counters_cache
    stepanblyschak committed Jun 24, 2022
    Configuration menu
    Copy the full SHA
    c9994f2 View commit details
    Browse the repository at this point in the history
  6. removed expected lines from config tests since relevant command execu…

    …tion is removed
    
    Signed-off-by: Stepan Blyschak <stepanb@nvidia.com>
    stepanblyschak committed Jun 24, 2022
    Configuration menu
    Copy the full SHA
    cae85b4 View commit details
    Browse the repository at this point in the history
  7. removed expected lines from config tests since relevant command execu…

    …tion is removed
    
    Signed-off-by: Stepan Blyschak <stepanb@nvidia.com>
    stepanblyschak committed Jun 24, 2022
    Configuration menu
    Copy the full SHA
    9bddc2e View commit details
    Browse the repository at this point in the history

Commits on Jun 27, 2022

  1. remove except blocks

    Signed-off-by: Stepan Blyschak <stepanb@nvidia.com>
    stepanblyschak committed Jun 27, 2022
    Configuration menu
    Copy the full SHA
    24ebbf3 View commit details
    Browse the repository at this point in the history

Commits on Jul 26, 2022

  1. Configuration menu
    Copy the full SHA
    bfb4a2e View commit details
    Browse the repository at this point in the history
  2. create cache and subdirectories writable for any user

    Signed-off-by: Stepan Blyschak <stepanb@nvidia.com>
    stepanblyschak committed Jul 26, 2022
    Configuration menu
    Copy the full SHA
    c84a002 View commit details
    Browse the repository at this point in the history