Meteor-Community-Packages / Meteor-Community-Packages/ground-db
GroundDB doesn't sync data to live server when getting online again after a while
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 569
- Forks
- 77
- PR merge metrics
- No merged PRs in 30d
Description
Hi,
Since we updated to a newer Meteor version (1.8 > 2.5) we are having problems with our app running offline.
I've tested the following
1. I turn off the wifi on my phone
2. I do a database update
3. I turn my wifi back on
When i do this right after each other everything works fine, but when I wait a couple of minutes (30 minutes) before turning my wifi back on the data won't be updated.
Do you have an idea of what is going on and how to fix this?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the reported offline update sequence on the affected Meteor versions, especially after waiting about 30 minutes before reconnecting. Trace GroundDB's reconnect and synchronization behavior; done means data changed offline is reliably sent to the live server after connectivity returns, including after the delay.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- database
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100