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

[REDRES-820] Add rocks options for compaction #44

Conversation

dforciea
Copy link

@dforciea dforciea commented Jul 1, 2024

No description provided.

C.rocksdb_free(unsafe.Pointer(cErr))
}

// free before return

Choose a reason for hiding this comment

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

I noticed the SetOptions function does not free the cstrings. Is that a bug or do we not need to free these?

Copy link
Author

Choose a reason for hiding this comment

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

I think we probably do need to technically. Although I don't think it is super high impact since we would not be continuously setting options.

Might be a better idea to make a separate PR to fix that, though

@dforciea dforciea merged commit 2a82964 into master Jul 1, 2024
1 check 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.

2 participants