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

[gorocks] add a call to open a database with TTL #19

Merged
merged 2 commits into from
Nov 19, 2021

Conversation

dforciea
Copy link

I want to try out using TTL, but the open function for databases with column families and TTL is not present

cfHandles[i] = NewNativeColumnFamilyHandle(c)
}

return &DB{
Copy link
Member

Choose a reason for hiding this comment

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

nit: OpenDbColumnFamilies implementation is almost the same. There is an opportunity to reduce code duplication.

Copy link
Author

Choose a reason for hiding this comment

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

Yes... but OpenDbColumnFamilies is part of the upstream, so I didn't want to modify that. Not that there seems to be any motion on the upstream anymore.

@dforciea dforciea merged commit 390c04c into master Nov 19, 2021
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