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

Fix(2.3): TsmWriter::size hasn't add index_size #1999

Merged
merged 1 commit into from
Mar 1, 2024

Conversation

zipper-meng
Copy link
Member

Required checklist

  • Sample config files updated (config,meta/config and default config)
  • If there are user-facing changes, the documentation needs to be updated prior to approving the PR( Link )
  • If there are any breaking changes to public APIs, please add the api change label.
  • Signed CLA (if not already signed)

Which issue does this PR close?

Related #.

Rationale for this change

Fix a bug in TsmWriter::write_index()

It did not add the field TsmWriter::size with the length of data just written. It follows that the file size recorded in the summary file is lesser than the real file size.

Are there any user-facing changes?

@zipper-meng zipper-meng changed the title fix(compaction,2.3): TsmWriter::size hasn't add index_size fix(2.3): TsmWriter::size hasn't add index_size Mar 1, 2024
@zipper-meng zipper-meng changed the title fix(2.3): TsmWriter::size hasn't add index_size Fix(2.3): TsmWriter::size hasn't add index_size Mar 1, 2024
@roseboy-liu roseboy-liu merged commit 8d8932f into cnosdb:LTS/2.3 Mar 1, 2024
7 checks passed
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.

None yet

2 participants