Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@yosoyubik
Copy link
Collaborator

@yosoyubik yosoyubik commented Mar 20, 2025

  • The current version of the test migration is more aggressive than it should be for certain cases of unsent/live message/fragments—fix for this incoming
    • This aggressive test discovered a bug where unsent messages were not added to the new payload ordered map in its actual arrival order from gall
  • There are certain flows with tens of thousands of duplicated messages (most of them %leaves=[%0 %u ~]) that make these migrations slow. Here we start a partial flow amnesty that filters these duplicated messagesremoved. diuplicate %leaves will remain in the queue due to the complexity of special casing them in the test, to check that we are not introducing any bugs in the filtering logic
  • Subscriptions to %jael keys for moons was broken since we were only handling keys for planets and comets—public key udpates has been centralized into the |mesa core and only the /public-keys wire was matched.
  • %jael was allocating all known ducts when ruining ships, causing a bail:meme, here we don't do that and just traverse the set in place.
  • TBA

Note: this does more aggresive testing of the migrated state, resulting of slighlty more peers unable to migrate.
Those peers have several unsent messages in their queue, and are probably offline. Mpre granular tests for these
peers incoming soon.
Fixes a bug where we were resetting the next message in the sequence pump, when there we unsent-messages.
Filtering the unsent message queue is only done if we encounter a $cork, possibly leaving duplicate leaves in it.
@pkova pkova marked this pull request as ready for review March 21, 2025 14:01
@pkova pkova merged commit 1061930 into develop Mar 21, 2025
1 check passed
@yosoyubik yosoyubik deleted the yu/mesa-fixes branch March 23, 2025 05:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants