[COMPASS-5356] A view definition is never refreshed after the first load Created: 08/Dec/21  Updated: 09/Aug/22

Status: Open
Project: Compass
Component/s: Views
Affects Version/s: 1.29.6
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Massimiliano Marcon Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Story Points: 3

 Description   

Problem Statement/Rationale

When Compass connects to a cluster, it loads dbs, collections, and views. Views come with the information about the pipeline that represents the view. That pipeline is however never refreshed and if I go and edit it I see the old version if in the meanwhile the view definition was changed outside of the Compass instance.

The only way to get it refreshed is reconnecting. Even the refresh button on the sidebar does not help.

Steps to Reproduce

Open Compass, connect to a cluster that has views.

Open a second Compass, connect to the same cluster and edit the definition of a view.

  1. Go back to the first Compass and edit the view.
  2. Refresh and edit the view again.

Expected Results

at least in case 2 the view definition should be the new one

Actual Results

the view definition remains the old one until the user reconnects

Additional Notes

Any additional information that may be useful to include.


Generated at Wed Feb 07 22:39:17 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.