jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vikas Saurabh (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (OAK-7700) Formalize how singleton pattern should be handled (e.g. in composite node store setup)
Date Wed, 08 Aug 2018 23:07:00 GMT

     [ https://issues.apache.org/jira/browse/OAK-7700?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Vikas Saurabh updated OAK-7700:
-------------------------------
    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

  was:
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.


> 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
>            Priority: Minor
>
> 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



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

Mime
View raw message