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

Geyser plugin reload, doesn't #3620

Open
steveluscher opened this issue Nov 14, 2024 · 1 comment
Open

Geyser plugin reload, doesn't #3620

steveluscher opened this issue Nov 14, 2024 · 1 comment
Assignees

Comments

@steveluscher
Copy link

steveluscher commented Nov 14, 2024

Problem

Observe a change to a Geyser plugin being made, the plugin being recompiled, and agave-validator plugin reload PLUGIN_NAME CONFIG being called.

Screen.Recording.2024-11-13.at.9.02.10.PM.mov

The plugin indeed gets reloaded, but not the newly compiled version – the old version.

$ agave-validator -V
agave-validator 2.0.14 (src:85619024; feat:4052914393, client:Agave)

I see the same behaviour if instead of reload I use unload then load again.

If I rename the .so file, unload the existing plugin, and then load the renamed one, I see the new code running.

@steveluscher
Copy link
Author

steveluscher commented Nov 14, 2024

@lijunwangs, have you ever seen this before? I hope I'm just doing something wrong, but I haven't figured out what. The only way I've found to get the new plugin code to take effect is to restart the validator, or to rename the .so file.

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

No branches or pull requests

2 participants