Comments (5)
To be honest, I am not really sure what you are asking here. The request and replies are matched by the context field in the message itself. Each Channel or Stream has unique context number which is used in the request and VPP replies using the same context, that is how GoVPP client matches request/reply even if they are processed out of order.
from govpp.
i using govpp, i found this error missing binary API reply with sequence number
. Because of vpp is single thread server, it handle the request one by one, so i think the vpp will echo the request number in order. I want to known what kind of situation will lead this error.
from govpp.
close it, i will check vpp is single thread or multi thread. i
from govpp.
Could you share the code you are using to send/receive requests?
from govpp.
This error message occurs when you receive a reply that has higher sequence number than expected. The sequence number is actually part of the context field mentioned above and each Channel
contains it's own sequence number which is increased every time you send request. The RequestContext
you get from SendRequest
will be used to check the sequence number in the reply you get to verify it matches. However if you use the Channel
in multiple goroutines or if you send multiple requests simultaneously before receiving reply from the previous request you will run into this error.
from govpp.
Related Issues (20)
- Fix: memory leak in receiveReplyInternal function
- [extras] Add documentation for govpp/extras and govpp/extras/gomemif HOT 3
- support for .tar.gz archives as input of govpp apigen
- Fix failing build for integration tests due removed version of package HOT 1
- Improve compatibility checking
- panic in the stats element HOT 5
- gomemif: Packet sent on Tx queue is received back on Rx queue of sender HOT 2
- Request for a tag HOT 1
- Using Log2RingSize custom set to more than 10 causes crash in packet writer for gomemif HOT 1
- Close connection event channel on disconnect
- Memory leak prevention proposal
- GoVPP CLI: worker to main thread when using api : communication problem ? HOT 2
- GoVPP Software Bill of Materials Generation HOT 3
- Would you please add an example using mulit rx and tx queue to extras/gomemif/examples HOT 1
- Add a dev and release VPP container HOT 3
- Fix import for extras in go.mod file HOT 3
- Possible memory leak in govpp from using time.NewTimer HOT 1
- Verify auto release process works HOT 2
- Disconnect Stats panic
- Update binapi for VPP 24.06
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 govpp.