-
Notifications
You must be signed in to change notification settings - Fork 15
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
[FEATURE] Add support for experimental codecs #148
Comments
Coming from opensearch-project/OpenSearch#13992 (comment), I think we have an agreement to:
We have separate sources of codecs:
The |
@reta I think that's a good summary. Do you have an approach in mind on how to restrict the changes to custom-codecs? |
@sarthakaggarwal97 sorry for delay, I didn't forget about it but there are quite related discussions happening around the same mechanism but different subjects (opensearch-project/OpenSearch#14479), will suggest the solution once we settle on the approach. |
Did we decide on the approach for this? We need to introduce this sooner to avoid bugs like #168. |
I think we can introduce an allowlist-style setting in custom-codecs that gates codecs in the same way that a gate was added for the QAT codecs that checks for hardware compatibility. @reta @sarthakaggarwal97 what do you think? |
@andrross - While code level gate definitely helps for platform specific codecs, in addition to that can we introduce the concept of experimental feature for codecs as well? |
+1 to what @backslasht and @andrross suggest here. I think with the fix for issue #168, we've a way to define gating self contained within the plugin. We can build a List setting which contains the experimental codecs for the distro, and gate in code accordingly. I still think we should have a way to govern this from core as well so that any new implementation need to explicitly mark them as out of experimental. |
Is your feature request related to a problem?
Coming from #122 (comment)
Given custom-codecs plugin is out of sandbox, any new codecs introduced should get some bake time to be tried by users before it can be marked ready for production usage. We should add some setting to allow-list a codec to be generally available. Codecs like zstd have been existing for quite a few versions, and already have seen backward compatibility handled and working. As new codecs are added (e.g. qat based), it would be helpful to enable them for production usage only after they have been vetted through some community feedback as well.
What solution would you like?
Introduce a setting which allows a codec to be marked experimental, and enabled on demand.
What alternatives have you considered?
Introduce codecs in new sandboxed plugins
The text was updated successfully, but these errors were encountered: