Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Timers not updating for multiple users as expected #3608

Closed
charlesh88 opened this issue Dec 18, 2020 · 3 comments · Fixed by #3751
Closed

Timers not updating for multiple users as expected #3608

charlesh88 opened this issue Dec 18, 2020 · 3 comments · Fixed by #3751
Assignees

Comments

@charlesh88
Copy link
Contributor

Problem has been recurring on hulk/viper during driving sims.

Steps to reproduce

  1. Two users, or Open MCT running in two different browser windows.
  2. Create a Timer.
  3. Get Timer in view for both users or in both browser windows.
  4. User 1 starts the Timer. User 2 should confirm they see the Timer start.
  5. User 1 resets Timer. User 2 expects their view of the Timer to reset, but it doesn't.

The Timer has become an important part of driving sims, used to limit and communicate off-optimal sun angle driving intervals between Flight and drivers, therefore this is a blocker.

@shefalijoshi
Copy link
Contributor

shefalijoshi commented Mar 8, 2021

This apears to be a problem mostly when using CouchDB
Every tick requests a refresh of the object, which in turn persists it. So there is a get and a put for every tick!
When there are multiple browsers / tabs involved, there could easily be a document conflict and result in the bug described here.

@shefalijoshi
Copy link
Contributor

Verified fixed.

@davetsay
Copy link
Contributor

davetsay commented Jun 2, 2021

verified

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants