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

Data collector synchronizes data between devices using an Offline P2P mechanism #279

Closed
4 tasks
lachko opened this issue Mar 30, 2017 · 5 comments
Closed
4 tasks

Comments

@lachko
Copy link
Contributor

lachko commented Mar 30, 2017

User Story

As a Data Collector I would like to transfer my data from one Tablet to another in case my Tablet breaks.

Tasks

  • Code
  • Unit tests
  • Documentation
  • Integration Tests

Acceptance criteria

  • ...
@lachko lachko added this to the Tangerine v3.0.0 milestone Mar 30, 2017
@rjcorwin rjcorwin modified the milestone: Tangerine v3.0.0 May 11, 2017
@rjcorwin rjcorwin added this to To do in Education Priorities via automation Jun 6, 2019
@rjcorwin rjcorwin moved this from To do to In progress in Education Priorities Jun 6, 2019
@rjcorwin
Copy link
Contributor

rjcorwin commented Jun 6, 2019

@chrisekelley I found this old issue. Turns out you're working on it right now :)

@rjcorwin rjcorwin changed the title Data collector is able to transfer data to a device Data collector is able to transfer data from one device to another Jun 6, 2019
@rjcorwin rjcorwin added this to the v3.6.0 milestone Aug 29, 2019
@rjcorwin rjcorwin mentioned this issue Sep 9, 2019
2 tasks
@rjcorwin rjcorwin changed the title Data collector is able to transfer data from one device to another Data collector transfers data from one device to another Sep 10, 2019
@rjcorwin rjcorwin changed the title Data collector transfers data from one device to another Data collector synchronizes data between many devices Sep 10, 2019
@rjcorwin rjcorwin modified the milestones: v3.6.0, v3.4.0, v3.7.0 Sep 23, 2019
@rjcorwin rjcorwin modified the milestones: v3.7.0, v3.8.0 Oct 11, 2019
@rjcorwin rjcorwin added the review In a prerelease for review. label Jan 8, 2020
@rjcorwin
Copy link
Contributor

rjcorwin commented Jan 9, 2020

@chrisekelley Can you add docs to this ticket for @lachko's review?

@rjcorwin rjcorwin changed the title Data collector synchronizes data between many devices Data collector synchronizes data between many devices using P2P offline mechanism Feb 18, 2020
@rjcorwin rjcorwin changed the title Data collector synchronizes data between many devices using P2P offline mechanism Data collector synchronizes data between many devices using a P2P offline mechanism Feb 18, 2020
@rjcorwin rjcorwin changed the title Data collector synchronizes data between many devices using a P2P offline mechanism Data collector synchronizes data between many devices using an Offline P2P mechanism Feb 18, 2020
@rjcorwin rjcorwin changed the title Data collector synchronizes data between many devices using an Offline P2P mechanism Data collector synchronizes data between devices using an Offline P2P mechanism Feb 18, 2020
@lachko
Copy link
Contributor Author

lachko commented Feb 21, 2020

Here is what I have:
Two deices both assigned to District B
One has some records for school 3 and the other for School 4
I go to P2P Syn on both devices and click Discover
I then click the device which is Pending
I get a Sync'd and some other debug messages
Ont he other device I get done! Sync next device
But I do not see the records of the synce dup device onto the first one
I sync to the server, and there I do not see the records from the other device

@lachko lachko removed the review In a prerelease for review. label Feb 21, 2020
@chrisekelley
Copy link
Member

chrisekelley commented Feb 21, 2020

Discovery and data xfer is working on the Android Go tabs he has, but there seems to be an issue w/ how the data bundle is getting created. A data package of only 232 bytes is being passed, and it looks like it is only the db info. He did note that sharedUserDatabase was marked false in his app-config.json, not sure if that is the issue though.

@lachko
Copy link
Contributor Author

lachko commented Feb 26, 2020

Now it works
** tablets on the same top level sync
** tablets on the same sub level sync
** Tablets on different sublevels sync
** tablet syncs before p2p
** tablet hasn't synced then p2p
** tablet p2p and then sync

@lachko lachko closed this as completed Feb 26, 2020
Education Priorities automation moved this from In progress to Done Feb 26, 2020
@rjcorwin rjcorwin added this to Done in Health Priorities Jul 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

No branches or pull requests

3 participants