Comments (2)
We ran into this while testing. But was unable to reproduce.
It seemed to occur when a peer was offline and edits were being made. The online peer's changes didn't automatically sync up to the offline peer, and the offline peer's changes never seemed to be communicated to the rest of the peers when returning online, even after a lot of other sync'd changes and time passing.
This fit the pattern we had before the peer connection system was implemented.
Current suspicion is that there is a size issue somehow impacting the indexedDB > radata storage area as the toy version of the test (after clearing things out of the browser) did not have the issue, and was the only major thing changed between tests.
A different problem entirely was that having more than one tab open seemed to cause massive delays in syncing that were resolved when the older tab closed. This was creating a similar effect with partial changes being sent to the incompletely loaded tab. That might be worth a separate issue entry.
from ouronote.
There were two variables tested within the gun configuration, using the IndexedDB vs. LocalStorage storage adapters, and WebRTC enabled vs. disabled. The storage adapter appeared to have an effect on the primary issue (data consistency after a network connection reset), while WebRTC may have only caused multi-tab issues. Needs more rigorous testing against each permutation of these options, with well-defined sequences of events, along with the state of the client's local graph after each test, to prepare an issue for the gun team, assuming we can confirm the issue is occurring within gun.
from ouronote.
Related Issues (20)
- Open Source License Review - Why AGPLv3? HOT 2
- Make repository friendly for contributions.
- Improved image export HOT 1
- Basic image export HOT 1
- Allow users to select licenses for their vectors HOT 2
- Eyedropper Tool HOT 2
- pen smoothing HOT 1
- selected items z-order HOT 1
- Selected items properties HOT 2
- Improved copy selected items
- User creation form needs feedback, validation & error messages HOT 2
- Clone selected items HOT 1
- Rotate selected items HOT 1
- Resize selected items HOT 1
- Color swatch HOT 1
- Text areas HOT 2
- Raster image support
- Support ALT-Text on view link?
- Feature: Scale pen stroke width with zoom level HOT 3
- Bug: Offline mode fails in so many ways
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ouronote.