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

@AffinityKeyMapped annotation is ignored if class names are configured on BinaryConfiguration

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Workaround
    • 1.7
    • 2.3
    • None
    • None

    Description

      @AffinityKeyMapped annotation on key class field is ignored in case when class names passed to inaryConfiguration via setClassNames() method.

      The problem is that Ignite uses IgniteConfiguration.cacheKeyCfg during BinaryContext.configure() execution and doesn't check class fileds on @AffinityKeyMapped annotation.

      Possible solution: check class fields on @AffinityKeyMapped annotation if there is no any mapping for cache key type.

      Attachments

        Issue Links

          Activity

            People

              kukushal Alexey Kukushkin
              agura Andrey N. Gura
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: