Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-12002

[TTL] Some expired data remains in memory even with eager TTL enabled

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • 2.7
    • 2.8
    • cache, general
    • None
    • Running on MacOS 10.12.6

      OpenJDK 11

      Ignite v2.7.0

       

    • Docs Required

    Description

      Create an ignite client (in client mode false) and put some data (10k entries/values) to it with very small expiration time (~20s) and TTL enabled.
      Each time the thread is running it'll remove all the entries that expired, but after few attempts this thread is not removing all the expired entries, some of them are staying in memory and are not removed by this thread execution.
      That means we got some expired data in memory, and it's something we want to avoid.

      Please can you confirm that is a real issue or just misuse/configuration of my test?

      Thanks for your feedback.

       

      To reproduce:

      Git repo: https://github.com/panes/ignite-sample

      Run MyIgniteLoadRunnerTest.run() to reproduce the issue described on top.

      (Global setup: Writing 10k entries of 64octets each with TTL 10s)

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              panes Philippe Anes
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: