Uploaded image for project: 'Red Hat Data Grid'
  1. Red Hat Data Grid
  2. JDG-7512

New version generator for Hot Rod [GHI#13191]

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Major Major
    • RHDG 8.5.3 GA
    • None
    • None
    • None

      The current version generator for the Hot Rod writes has the following format:

      | view id (2 bytes) | rank (2 bytes) | version counter (4 bytes) |
      

      It works fine for single cluster deployments but not for cross-site deployments. When cross-site is enabled, the view ID and rank may match, generating the same version on both sites.

      For example, a single node on 2 sites will have the same view ID (it will be 1) and rank (once again 1 on both sites since they are the only member).

      The only requirement is that versions are unique within the same key.

              pruivo@redhat.com Pedro Ruivo
              pruivo@redhat.com Pedro Ruivo
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: