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

Error On Running Examples #600

Open
aaditya2200 opened this issue Nov 17, 2023 · 5 comments
Open

Error On Running Examples #600

aaditya2200 opened this issue Nov 17, 2023 · 5 comments

Comments

@aaditya2200
Copy link

I am trying to integrate splinter DB into an application of mine. I tried running the intro examples, and I encountered this error.
Assertion failed at src/clockcache.c:2234:clockcache_get_internal(): "SUCCESS(status)".
Could this be because the DB file does not exist? If yes, is there any way to run splinter DB without the DB file?

@aaditya2200
Copy link
Author

I narrowed it down to a pread call which is happening in laio_read

@rtjohnso
Copy link
Contributor

rtjohnso commented Nov 18, 2023 via email

@aaditya2200
Copy link
Author

Hi Rob,

I am just trying to run splintered_intro_example on Ubuntu 18.04. I tried debugging it and narrowed it down to src/platform_linux/laio.c, in the laio_read function. The pread() is throwing an error. (It says operation not supported, but I am running the ext3 file system).
I am just trying to create a splinterDB instance and insert elements into it, using the same code as shown in the example.
Best,
Aaditya.

@rtjohnso
Copy link
Contributor

rtjohnso commented Nov 18, 2023 via email

@aaditya2200
Copy link
Author

Oh sure, thank you! Yes, we will move to ext4. Thanks!

Aaditya.

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