Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix typo of Mnesia storage_type #105

Merged
merged 1 commit into from
Jan 26, 2024
Merged

Conversation

gomoripeti
Copy link
Contributor

Plugin used to crash in a distributed cluster when a node was added to the cache replicas because Mnesia.add_table_copy/3 was called with invalid table storage type argument.

node 'rabbit@node-02' up
** Generic server 'Elixir.RabbitMQMessageDeduplication.CacheManager' terminating
** Last message in was {mnesia_system_event,
                           {mnesia_up,'rabbit@node-02'}}
** When Server state == #{}
** Reason for termination ==
** {{case_clause,
        {aborted,
            {badarg,cache_exchange_<name>,
                ram_nodes}}},
    [{'Elixir.RabbitMQMessageDeduplication.Cache',
         '-cache_rebalance/1-fun-0-',4,

Plugin used to crash in a distributed cluster when a node
was added to the cache replicas.

```
node 'rabbit@node-02' up
** Generic server 'Elixir.RabbitMQMessageDeduplication.CacheManager' terminating
** Last message in was {mnesia_system_event,
                           {mnesia_up,'rabbit@node-02'}}
** When Server state == #{}
** Reason for termination ==
** {{case_clause,
        {aborted,
            {badarg,cache_exchange_<name>,
                ram_nodes}}},
    [{'Elixir.RabbitMQMessageDeduplication.Cache',
         '-cache_rebalance/1-fun-0-',4,
```
@noxdafox
Copy link
Owner

Hey!

Thanks for your contribution! I am struggling with the test suite right now. As soon as I get the tests to run I will validate and merge!

@noxdafox
Copy link
Owner

noxdafox commented Jan 26, 2024

Finally managed to fix the build logic. I will test it and release during WE. Thanks again for your contribution!

@noxdafox noxdafox merged commit d3a9cd8 into noxdafox:main Jan 26, 2024
1 check failed
@noxdafox
Copy link
Owner

Fix release in version 0.6.2.

@gomoripeti
Copy link
Contributor Author

thank you for maintaining this plugin and the heroic efforts to keep the build/CI working!

@gomoripeti gomoripeti deleted the storage_type branch February 1, 2024 10:16
@noxdafox
Copy link
Owner

noxdafox commented Feb 2, 2024

I would not call it heroic 😁, but it is indeed becoming harder and harder to maintain the plugin unfortunately.

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.

None yet

2 participants