Comments (4)
Does downgrading the
panic
to anerror
log not only kick the problem down the road? What if subsequently the entry with idfrag_id
is requested fromself.pending_acks_data
in order to update or remove it, and now multiple items with identifierfrag_id
exist?Given the small range
[1, 2147483647]
from whichset_id
s are randomly chosen, would it not make sense to increaseset_id
fromi32
(with excluded edge cases) toi64
(with excluded edge cases)? This way, at least the probability of generating aset_id
collision is much reduced.
Yep that's correct. Well at least things like this shouldn't take the whole gateway down now, which is critical, but yeah there is a small small % of packets that are corrupted by this.
And also yes I agree it would be good to increase the id to 64-bit, the challenge is doing that gradually without breaking things on mainnet. So it's a little more than just changing the type
from nym.
Is this issue still present? At least it shouldn't panic since #4248. Although it's a bit of a mystery why this even happens in the first place ...
from nym.
Closing the ticket based upon @octol comments
from nym.
Does downgrading the panic
to an error
log not only kick the problem down the road? What if subsequently the entry with id frag_id
is requested from self.pending_acks_data
in order to update or remove it, and now multiple items with identifier frag_id
exist?
Given the small range [1, 2147483647]
from which set_id
s are randomly chosen, would it not make sense to increase set_id
from i32
(with excluded edge cases) to i64
(with excluded edge cases)? This way, at least the probability of generating a set_id
collision is much reduced.
from nym.
Related Issues (20)
- Handling of error case during outbound connection step in `nym_network_requester::core` crashes process HOT 1
- [Issue] NymWallet: Error "Signature was either invalid or not required" HOT 7
- [Issue] Unknown compilation error HOT 4
- [Feature Request] UX improvement to avoid empty wallet when redeeming delegation
- [Issue] Gateway with embedded network requester crashes at `common/nymsphinx/chunking/src/reconstruction.rs:108:26` HOT 2
- [ISSUE]: Mix Node upgrade - routing score issues HOT 2
- [Issue] nym-cli failing on multisend
- lost my phrase HOT 2
- [Issue] `nym-api` ignores Rocket configuration HOT 1
- [Issue] init command erases certain variables in config.toml HOT 1
- Running a gateway with "ip_packet_router" enabled fails HOT 5
- Add a section in the documentation in relation to gateway blacklisting [DOCS] HOT 1
- Delegation screen doesn't show my delegation HOT 2
- [Issue] Delegation not displayed in wallet, contrary to explorer's display.
- [DOCS] Swagger documentation link HOT 1
- [Issue] Mixnet Explorer - cannot build
- [Issue] Cant migrate from nym-mixnode to nym-node HOT 2
- [DOCS] Broken link to "Operator Guides book" l HOT 2
- Entry- and Exit-Gateway can be identical 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 nym.