Review PubSub subscribers for Index Data-hosted libraries on Goldenrod

Description

Per , getting 4 instances when importing.

Based on troubleshooting for MSU, advised

Could you or someone check this? We found multiple versions of mod-inventory-storage subscribed to some PubSub events, which caused multiple copies of Instances to be created during import. We're trying to figure out if it's a one-off, or if it's happening for multiple tenants.

From the dev:
To check whether pubsub subscriptions are relevant one can hit the GET endpoint on /pubsub/event-types/DI_INVENTORY_INSTANCE_MATCHED/subscribers and see if there only one relevant version (no old versions with underscores in the name) of mod-inventory is registered

See Wayne's replies in attached screenshots

CSP Request Details

None

CSP Rejection Details

None

Potential Workaround

None

Attachments

4

Checklist

hide

TestRail: Results

Activity

Show:

Kateryna Senchenko November 5, 2020 at 3:43 PM

Confirmed with that we can close this ticket. Any possible issues on Honeysuckle envs related to invalid subscriptions should be resolved with mod-pubsub v1.3.2 in similar fashion.

Kateryna Senchenko November 4, 2020 at 7:00 PM

Hi ,

Yes, it is expected - module subscriptions are stored at the module-level schema (not tenant-level) in the db, the scripts for that schema are run at the time when module is initialized. I'm glad to hear it works, thank you!

, can we close this ticket now? Or should we also test it on Honeysuckle environments?

Wayne Schneider November 4, 2020 at 6:43 PM

Once I deployed mod-pubsub-1.2.6 into the environment, it immediately cleaned up the subscriber lists for the event types – even though it wasn't enabled for the tenant and in fact mod-pubsub-1.2.5 was still enabled and running. Is that expected behavior?

In any event, after upgrading the tenant, we no longer get duplicate inventory entities created by data import. Thank you!

Wayne Schneider November 3, 2020 at 9:55 PM

Thanks for the heads up! We're planning to install and test in the environment that is having the issues (Simmons, not Lehigh) tomorrow. We have installed and tested in a staging environment which was not showing the same problem already, so at least we are confident that there isn't a regression.

Ann-Marie Breaux November 3, 2020 at 7:45 PM
Edited

Hi This Goldenrod hotfix for MODPUBSUB (1.2.6) was released today. Could you confirm that it resolves the multiple Instance creation problem, once you've had a chance to add to your envs? Thank you!

Done

Details

Assignee

Reporter

Priority

Story Points

Sprint

Development Team

Fix versions

Release

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs

Created October 29, 2020 at 3:07 PM
Updated November 5, 2020 at 3:43 PM
Resolved November 5, 2020 at 3:43 PM
TestRail: Cases
TestRail: Runs