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

MB-64604: [BP] Fix interpreting scorch config: "fieldTFRCacheThreshold" #2118

Merged
merged 3 commits into from
Dec 17, 2024

Conversation

abhinavdangeti
Copy link
Member

  • Setting the default to 0 on account of the panics caught in the MB.
  • Firstly, refactor FieldTFRCacheThreshold to fieldTFRCacheThreshold for some naming consistency here.
  • This threshold can be used to toggle recycling of TermFieldReaders on/off.
  • Couchbase users will have the ability to provide this setting within a JSON payload, which when interpreted into a map[string]interface{} will need to be interpreted as a float64.
  • Should library users set it as an int within the index config - we'll honor that setting as well.

+ Setting the default to 0 on account of the panics caught in the MB.
+ Firstly, refactor FieldTFRCacheThreshold to fieldTFRCacheThreshold
  for some naming consistency here.
+ This threshold can be used to toggle recycling of TermFieldReaders on/off.
+ Couchbase users will have the ability to provide this setting within a
  JSON payload, which when interpreted into a map[string]interface{} will
  need to be interpreted as a float64.
+ Should library users set it as an int within the index config - we'll
  honor that setting as well.
Disable workflows on macos
@abhinavdangeti abhinavdangeti merged commit 928218f into 7.1-couchbase Dec 17, 2024
6 checks passed
@abhinavdangeti abhinavdangeti deleted the mb64604_71x branch December 17, 2024 18:03
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.

2 participants