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

Lazy start counter's caches

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Major Major
    • None
    • None
    • None
    • None
    • JDG Sprint #22

      Goal: if counter's are used, there is no need to start counter's caches!

      Main change:

      • remove __counter_configuration and use the state-cache to store counter's configuration

      Summary:

      • When the first counter is defined and stored in the state-cache, the __counter cache is started.
      • When a node joins, it starts the __counter cache if it finds a counter's configured stored
      • We need to persist the counter's configuration (for persisted counters only!) manually since the state-cache isn't persisted

      Issues

      • the state-cache is available during partitions! same counter can be defined with different configuration
        users have to deal with it while I can't find a way to resolve a conflict.

              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: