Comments (5)
This should be fixed now. There is a test to cover this as well.
from aeron.
I think https://github.com/real-logic/aeron/blob/master/aeron-driver/src/main/c/media/aeron_send_channel_endpoint.c#L301-L308 needs fixed as well, either it shouldn't loop, or it should but only until it successfully sets the timestamp?
from aeron.
This isn't broken as it stands. You can have multiple entries in those vectors consisting of non-fragmented packets. It could be made a little more efficient if you wanted to assume that two packets in the same vector would have the same timestamps. Given that the iov in this case is generally fairly small (default is two), then optimising for an early exit from the loop is probably not worth the complexity.
from aeron.
It’s currently accessing index 0 on each loop iteration, it’s not using i at all
from aeron.
I'd missed that part, it is fixed now
from aeron.
Related Issues (20)
- OpenTelemetry Integration HOT 1
- ArchiveException: ERROR - response for correlationId=15, error: 59232 position not aligned to a data header HOT 8
- Invoke fileChannel's force method before close HOT 2
- Heartbeats being sent, despite no publishing. HOT 5
- `ReplayMerge::doWork` throws exceptions without descriptions.
- ReplayMerge join position is greater than the replay position HOT 4
- AeronCluster client (gateway) - SIGSEGV HOT 1
- Set thread name to "client-conductor" fails.
- aeron ping-pong example build should detect sendmmsg
- code examples for C or C++ HOT 2
- Archive ConductorServiceTimeoutException when using `useConductorAgentInvoker` HOT 5
- [C Media Driver]: Custom poller and receiver functions HOT 2
- Entire cluster of 3 members getting stuck if one of the followers gets stuck HOT 3
- Aeron 1.43.0 - NullPointerException: Cannot invoke "io.aeron.archive.Session.doWork()" HOT 3
- Offering I/O vectors for sending multiple messages HOT 1
- An Exception about agrona and reflect when changing java version from 8 to 17 HOT 1
- Election cannot close due to Padding frame HOT 3
- Dependency on agrona [1.21.2,2.0[ HOT 2
- AtomicBuffer strict-aliasing violations (undefined behavior) HOT 1
- Broken link on wiki HOT 1
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 aeron.