New method for the Object Store Plugins #2823
Labels
Area/Plugins
Issues related to plugin infra/internal plugins
Enhancement/Dev
Internal or Developer-focused Enhancement to Velero
Needs info
Waiting for information
Describe the problem/challenge you have
I'm part of the team that is maintaining the Tardigrade Velero plugin (https://github.com/storj-thirdparty/velero-plugin)
Due to the way how the Tardigrade client library works, we should close the connection once the plugin is executed. We open a connection in the Init then we use the connection in all the other methods that must be implemented by an Object Storage plugin, however, for the sake of releasing resources in the server, the connection should be closed.
Although this isn't a big issue for us, we see that could be worth it and it will allow us to use the best practices of our client library inside of the Velero plugin.
Describe the solution you'd like
Add a method in the Object Store Plugin interface that is called at the end of a backup/restore cycle.
Having that method, we could close that connection once the operation is completed.
The method can be useful for other providers that they would need to release resources or do some cleanup operations.
For the providers that don't need anything at the end of the cycle, they could just make it a no-op.
Anything else you would like to add:
Environment:
velero version
): 1.4kubectl version
):/etc/os-release
):Vote on this issue!
This is an invitation to the Velero community to vote on issues, you can see the project's top voted issues listed here.
Use the "reaction smiley face" up to the right of this comment to vote.
The text was updated successfully, but these errors were encountered: