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

CreatedExpiryPolicy doesn't work if entry is loaded from store

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 1.7
    • 2.0
    • cache
    • None

    Description

      According to JCache spec, ExpiryPolicy.getExpiryForCreation() must be triggered on get() operation if the entry is loaded from the store. Currently this is not happening.

      Test reproducing the issue is attached.

      Attachments

        1. LoadWithExpiryTest.java
          2 kB
          Valentin Kulichenko

        Issue Links

          Activity

            People

              avinogradov Anton Vinogradov (Obsolete, actual is "av")
              vkulichenko Valentin Kulichenko
              Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m