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

Support collocation based on multiple fields

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • 3.0
    • None
    • Docs Required, Release Notes Required

    Description

      In Ignite 2.x there are two ways to configure collocation: @AffinityKeyMapped annotation and CacheKeyConfiguration bean. Both allow specifying only one field to be used for collocation.

      Let's say there is a key class that looks like this:

      class MyCacheKey {
          int a;
          int b;
          int c;
      }

      In this case, there is no way to collocate the data based on a pair of fields (e.g. a and b).

      In 3.0, we should have an API that would allow to specify two or more fields to be used for collocation.

      Attachments

        Activity

          People

            Unassigned Unassigned
            vkulichenko Valentin Kulichenko
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: