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

Tracking the last sent data on the receiver #6

Closed
6 tasks done
githengi opened this issue Mar 6, 2019 · 0 comments
Closed
6 tasks done

Tracking the last sent data on the receiver #6

githengi opened this issue Mar 6, 2019 · 0 comments
Assignees

Comments

@githengi
Copy link
Contributor

githengi commented Mar 6, 2019

  • Whenever the receiver receives data from sender and successfully processes the data, they will record the lastRecordId received in a SQLite table p2p_received_history.

  • The table p2p_received_history will have the columns
    - device_id (String)
    - type (Enum)
    - last_record_id (Bigint)

  • device_id will identify the device the data was received from

  • type will identify the type of data that was received e.g Clients,Events,Tasks,Locations,Structures,etc

  • last_record_id will identify the last record received from the device and of type

  • This table cannot be synced from server and must be created only during P2P Sync

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

No branches or pull requests

2 participants