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

Partition state validation warns are printed to log

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.7
    • Fix Version/s: 2.8
    • Component/s: None
    • Labels:
      None
    • Release Note:
      Skip partition states validation if custom expiry policy is set
    • Ignite Flags:
      Docs Required, Release Notes Required

      Description

      GridDhtPartitionsExchangeFuture.java

       

       if (grpCtx == null
                              || grpCtx.config().isReadThrough()
                              || grpCtx.config().isWriteThrough()
                              || grpCtx.config().getCacheStoreFactory() != null
                              || grpCtx.config().getRebalanceDelay() == -1
                              || grpCtx.config().getRebalanceMode() == CacheRebalanceMode.NONE
                              || grpCtx.config().getExpiryPolicyFactory() == null
                              || SKIP_PARTITION_SIZE_VALIDATION)
                              return null;

       

      In case of using custom ExpiryPolicy, partition states validation should be skipped, so it looks like a typo, probably it should be grpCtx.config().getExpiryPolicyFactory() != null

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mstepachev Stepachev Maksim
                Reporter:
                mstepachev Stepachev Maksim
              • Votes:
                0 Vote for this issue
                Watchers:
                3 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