You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Vikas Saurabh (JIRA)" <ji...@apache.org> on 2018/08/08 22:56:00 UTC

[jira] [Created] (OAK-7700) Formalize how singleton pattern should be handled (e.g. in composite node store setup)

Vikas Saurabh created OAK-7700:
----------------------------------

             Summary: Formalize how singleton pattern should be handled (e.g. in composite node store setup)
                 Key: OAK-7700
                 URL: https://issues.apache.org/jira/browse/OAK-7700
             Project: Jackrabbit Oak
          Issue Type: Task
          Components: composite
            Reporter: Vikas Saurabh
            Assignee: Vikas Saurabh


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.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)