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

CGO variable in call to OpenDbColumnFamiliesWithTTL #163

Open
gfinleyg opened this issue Oct 2, 2024 · 1 comment
Open

CGO variable in call to OpenDbColumnFamiliesWithTTL #163

gfinleyg opened this issue Oct 2, 2024 · 1 comment

Comments

@gfinleyg
Copy link

gfinleyg commented Oct 2, 2024

OpenDbColumnFamiliesWithTTL is requesting []grocksdb._Ctype_int for the ttls parameter. This is my first time running into this sort of issue, but shouldn't it be an []int that is passed to the function OpenDbColumnFamiliesWithTTL in db.go? Is there another way that I can set the list of TTLs for this?

(corrected []int32 to int)

@linxGnu
Copy link
Owner

linxGnu commented Oct 7, 2024

@gfinleyg
Thank you for raising the issue. Please give me sometime to plan for the changes.

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

No branches or pull requests

2 participants