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

Match Data LOST during sync. #37

Open
TheMatt2 opened this issue Mar 19, 2018 · 2 comments
Open

Match Data LOST during sync. #37

TheMatt2 opened this issue Mar 19, 2018 · 2 comments
Assignees
Labels

Comments

@TheMatt2
Copy link

TheMatt2 commented Mar 19, 2018

From testing this weekend, we have seen multiple cases where scouted matches actually don't get logged by the server phone. Initially we thought it was mistakes by people using the phones, but after isolated testing, it was clear that there is actually an issue.

The issue appears to be that if more than one phone tries to sync at once, an error can occur, showing a dialog on the scout phone saying "Could not connect to server, please check the version of the server phone..." (even though the versions were all up to date).

After these errors, if a phone successfully syncs, it shows up in the logs of the server, but as having reported 0 new matches.

When the data is then exported (as raw export), some of the data, is then completely missing! When syncing six scouting phones to a server, we have observed up to 3 phones having their data disappear at once.

The work around is to just not sync multiple phones at once. If done individually, we say much fewer odd disappearances of data (though there was one).

Steps to reproduce.

  1. Take multiple scout phones with FRC Krawler as scout. I used 6 phones.
  2. Take one server phone, with a competition loaded onto it with some metrics.
  3. Sync all of the scouting phones to load the competition and metrics.
  4. Enter a match on each of the phones and save it. (Don't sync yet).
  5. All at once, press sync on all of the scouting phones. This required more than one person to push the buttons fast enough when I did it.
  6. When a sync error occurs on the scout phones for failed to connect. Close the warning and try to sync again. Repeat until syncing is successful.
  7. Use Export Raw to load the data from that event onto a computer.
  8. Observe that there are not 6 matches on the output csv. From my testing there will only be 3 or 4.
    Where did the others go? That is the problem.
@TheMatt2 TheMatt2 changed the title Match Data **Dropped** during sync. Match Data LOST during sync. Mar 19, 2018
@Adam8234 Adam8234 added the bug label Mar 27, 2018
@Adam8234 Adam8234 self-assigned this Mar 27, 2018
@TheMatt2
Copy link
Author

Is there an update on this?

@bherbst
Copy link
Contributor

bherbst commented Jan 2, 2019

@TheGreatKetchup unfortunately @Adam8234 graduated from the team, and we are in still in the process of teaching new students Android development.

If you want to take a crack at fixing the issue, we are more than happy to accept pull requests! Unfortunately I can't provide a timeline on when we will be able to take a look at fixing this issue, but it definitely hasn't fallen off our radar!

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

No branches or pull requests

3 participants