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

Local Site Ids don't match Remote Site Ids #312

Open
lmatayoshi opened this issue Jun 11, 2020 · 1 comment
Open

Local Site Ids don't match Remote Site Ids #312

lmatayoshi opened this issue Jun 11, 2020 · 1 comment
Assignees
Labels
collector Issues for maap-collector

Comments

@lmatayoshi
Copy link
Contributor

lmatayoshi commented Jun 11, 2020

Though it doesn't produce negative effects, it can be misleading when cross-validating store and collector's data (When testing, for example)

Steps to reproduce:

  1. Suppose there are initially 20 sites in the store, with ids going neatly from 1 to 20
  2. Then, an admin deletes let's say, the last one and then creates a new one. So now ids are [1, 2... 19, 21]
  3. When a new Collector joins and syncs it's local database, it will see the site ids ranging from [1, ..., 20] instead of realizing that the last Site actually has id = 21. This happens because the Sites list is using the ids of the local database instead of the remote ones
@lmatayoshi
Copy link
Contributor Author

@mmuller, situation described above shouldn't happen anymore. Collectors should be able to see remote ids in the Sites list now, and no other screen should be displaying local sites ids

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

No branches or pull requests

1 participant