kwin commented on code in PR #623:
URL: https://github.com/apache/jackrabbit-oak/pull/623#discussion_r923201352


##########
oak-store-composite/src/main/java/org/apache/jackrabbit/oak/composite/MountInfoProviderService.java:
##########
@@ -125,7 +126,7 @@ private void addMountInfoConfigFromProperties(Props 
mountInfoProps) {
         }
     }
 
-    @Reference(cardinality = ReferenceCardinality.MULTIPLE)
+    @Reference(cardinality = ReferenceCardinality.MULTIPLE, policyOption = 
ReferencePolicyOption.GREEDY)

Review Comment:
   Probably this was thought to be dynamic (not static) as it is threadsafe 
(CopyOnWriteArrayList) and leads to less reactivation of this service. Also 
dynamic makes the greedy part obsolete: 
https://docs.osgi.org/specification/osgi.cmpn/8.0.0/service.component.html#d0e30480



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to