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

Support collocation based on multiple fields

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 3.0
    • Component/s: None
    • Labels:
    • Ignite Flags:
      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

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

              Dates

              • Created:
                Updated: