I was looking at the code for ManagedServiceTracker.modifiedService and it
looks odd to me. Before I spend a lot of time verifying what does happen I
thought I should ask about what should happen :-)
Lets say you have a MS registered with pids {1, 2} and you change the service
registration so its interested in pids {2, 3} and there are existing configs
for 1, 2, 3. What should happen?
I think that:
-- MS stops getting updates for pid 1
-- continues to get updates for changes to pid 2, but does not receive an
update for the existing config for pid 2 (it already got one
-- gets an update with the current state of the existing config for pid 3
Is this what should happen? The code looks to me like MS will get an update
for the existing config for pid 2, which would be a duplicate notification. As
I said, I didn't check that this is what happens, its just based on looking at
the code.
thanks!
david jencks