Skip to content

Conversation

@Thejas-bhat
Copy link
Member

@Thejas-bhat Thejas-bhat commented Aug 29, 2024

  • The PR introduces the concept of config which can be index specific config values at the zap level. This would help in the future to perform any index specific tuning at the zap level.
  • This involves extending the existing interface's Open and New APIs.
  • The config is a member field in segmentBase struct but not persisted as part of segment format.

@Thejas-bhat Thejas-bhat marked this pull request as ready for review August 29, 2024 14:50
@metonymic-smokey metonymic-smokey changed the title Introducing config at zap layer MB-61890 - Introducing config at zap layer Aug 30, 2024
segment.go Outdated
}

// Open returns a zap impl of a segment along with keeping some config values in
// mind during the segment's lifetime.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: I think the "in mind" can be removed since we're dealing with segments here :)

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.

3 participants