Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • S slapcache
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • nexedinexedi
  • slapcache
  • Merge requests
  • !7

Remove usage of NetworkCache

  • Review changes

  • Download
  • Patches
  • Plain diff
Merged Thomas Gambier requested to merge feat/NetworkcacheClient into master May 13, 2022
  • Overview 11
  • Commits 3
  • Pipelines 0
  • Changes 3

slapcache was using a old class NetworkCache to access shacache. Remove it in favor of standard NetworkcacheClient.

Please note that slapcache is still useful for now because slapos.libnetworkcache has no way to access a key without a MD5.

So basically, right now slapcache is:

  • defining a new entry key in the section [shacache] in the config file of libnetworkcache
  • retrieve all documents matching this key in shacache and select the one with newest timestamp
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: feat/NetworkcacheClient
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7