Comments (2)
Unhashable errors are not going to have a common interface, so it's probably better to handle panic in that context with recover
.
Considering just mongo
for example, mongo.CommandError
and mongo.WriteError
, mongo.WriteException
, and mongo.BulkWriteException
do not have a common field, so interface checking is not possible.
from yorkie.
We have experienced this issue while we are doing Weekly Sync.
This killed the server, so we couldn't access to the document for a while (about few seconds).
I think we need to prioritize this issue and fix it ASAP.
from yorkie.
Related Issues (20)
- Tree inconsistency between Changes-generated and Snapshot-generated HOT 1
- Duplicate changes pushes during simultaneous sync and detach calls
- Resolve Split-Brain of WatchDocument with Stateful Session Affinity
- Handling reattaching detached document in SDK HOT 1
- Synchronization fails when editing including Undo In the CodeMirror example. HOT 1
- Update Document updatedAt to only include Document.Root modifications HOT 2
- Issue with document deletion in MemDB causing malfunction
- Implement DB Query for GetDocuments API to improve performance HOT 9
- Provide detailed error codes for enhancing error handling from Client
- Improve performance for creating crdt.TreeNode HOT 5
- Resolve N+1 issue in GetDocuments API response when snapshot is included HOT 1
- Remove gRPC Dependency in the Codebase
- Improve performance of Splay Tree in crdt.Text data structure to prevent skewness HOT 8
- Error occurs when executing `FindDocInfosByKeys` query with empty docKeys argument HOT 1
- Consider Cascade Delete on Admin Deletion HOT 2
- Cache Changes to Improve Overall PushPull/MongoDB Performance HOT 2
- CI workflow doesn't work due to Docker Compose V1 being deprecated on the runner's ubuntu image HOT 8
- Fine-tune CI Workflows in PR HOT 4
- Provide global output flag for setting output format in CLI commands
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 yorkie.