Uploaded image for project: 'OpenShift Logging'
  1. OpenShift Logging
  2. LOG-3333

Replace fifocache with embedded-cache configuration

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Normal Normal
    • Logging 5.6.0
    • Logging 5.6.0
    • Log Storage, Loki
    • None
    • False
    • None
    • False
    • NEW
    • VERIFIED
    • Log Storage - Sprint 228

      Currently all our LokiStack sizes are using the fifocache config block to use fixed 500MB in-memory caching indices/chunks/results. The configuration was replaced by a more easy to use block called embedded-cache that allows controlling the size and TTL. This yields that our pods are throwing some deprecation notices, e.g.:

      caller=cache.go:114 msg="fifocache config is deprecated. use embedded-cache instead"
      caller=experimental.go:20 msg="experimental feature in use" feature="In-memory (FIFO) cache - embedded-cache"
      caller=cache.go:114 msg="fifocache config is deprecated. use embedded-cache instead"
      caller=experimental.go:20 msg="experimental feature in use" feature="In-memory (FIFO) cache - chunksembedded-cache"
       

      Acceptance Criteria

      • Replace the config block with using the old fifocache defaults for size and TTL.
      • Deprecation notices are not showing up in any Loki pod.

      Developer Notes:

              rojacob@redhat.com Robert Jacob
              ptsiraki@redhat.com Periklis Tsirakidis
              Kabir Bharti Kabir Bharti
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: