Comments (3)
@pgebheim you are not alone, I have the same problem, with version 9.4.1. This means, PR 874 doesn't fix this.
now, I checked how long ago this problematic order was inserted, and it was 1 hour before it was shown as missing. So, it stayed for 1 hour in the Node, then suddenly it was reported as missing, then 1 minute later, on the next sync, it was reported as existent again.
niko@desk :~/ae_logs$ grep 0x66e4c671bbde47e04f037fec0143fa8505d4f954643086f36faa307c6f8cde1c mesh_info.log
INFO: 2020/07/30 18:52:48 Inserted open order 0x66e4c671bbde47e04f037fec0143fa8505d4f954643086f36faa307c6f8cde1c
INFO: 2020/07/30 19:50:07 Order 0x66e4c671bbde47e04f037fec0143fa8505d4f954643086f36faa307c6f8cde1c doesn't exist in Mesh Node, but does exist in the DB. Deleting. (DB_DIRTY_OORDERS)
INFO: 2020/07/30 19:51:11 Inserted open order 0x66e4c671bbde47e04f037fec0143fa8505d4f954643086f36faa307c6f8cde1c
niko@desk :~/ae_logs$
I am using 9.4.1 from master (commit c163356 to be specific) as server, and client sources are from 9.4.0
from 0x-mesh.
@jalextowle what about providing another RPC function like getOrderByHash(hash)
, this function would access to meshdb.MeshDB
object and check if the order exist there, and then return sucess/failure status?
This seems like a missing function from the point of view of design, so it could be a good moment to add it, what do you think?
In my case, this function would help to double check if order exists, before I delete it locally, so this way I would prevent deletion even if rpcclient.GetOrders()
misses few orders. But if the order gets deleted in the database (MeshDB) also, then this would not work. But I can't figure why would an order get deleted from MeshDB
if it was created 1 hour ago.... seems weird.
from 0x-mesh.
@nuliknol -- btw Augur runs with 10.0.0-unstable-5 browser-mesh at the moment. It has a bit of a custom WASM build that is being readied for a mainline 10.0.0 0x release.
The main bugs here were fixed in that release.
from 0x-mesh.
Related Issues (20)
- field is not mentioned correclty for graphQL querry
- [Critical] Docker container not starting
- goLang graphQL module doesn't compile HOT 1
- Can't go get 0x-mesh project
- Mesh nodes with telemetry enabled will eventually run out of disk space HOT 1
- index out of range error HOT 2
- Broken paths from 'Guides' page
- Deploy GraphQL Playground Server
- Update libp2p dependencies
- Update dht and peerstore to use peristent storage
- Reduce type de-duplication and finalize all APIs
- Use strings in GraphQL schema instead of custom scalars
- Support unsubscribing from GraphQL subscriptions
- Improve support for subscriptions in GraphQL playground
- Update CHANGELOG for v10
- Remove OrderWatcher in-memory state
- Implement database migrations
- Log slow SQL queries
- Better utilize database indexes to improve performance
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 0x-mesh.