Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-7700

Formalize how singleton pattern should be handled (e.g. in composite node store setup)

    XMLWordPrintableJSON

Details

    • Task
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • composite
    • None

    Description

      Post OAK-7610 there was a bit of discussion [0] regarding the approach taken there. There was an off list discussion which concluded that current way of singletons like

      • Checkpoint bean
      • observer tracker
      • etc
        needs special handling in each node store implementation. We should attempt to see how can we formalize/refactor current methods so that it's hard to get into bugs like OAK-7610.

      [0]: https://lists.apache.org/thread.html/f0a05bdf24892b7058c60bae1f475cb37df071c7bd8c501c93a83237@%3Coak-dev.jackrabbit.apache.org%3E

      Attachments

        Issue Links

          Activity

            People

              catholicon Vikas Saurabh
              catholicon Vikas Saurabh
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: