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

[LevelDB IndexedDB] Return empty rows instead of error when db or object store doesn't exist #1830

Conversation

RebeccaMahany
Copy link
Contributor

I think this is more consistent behavior -- we already ignore filepaths that don't exist. If the filepath to the indexeddb exists, but the indexeddb hasn't been initialized (db doesn't exist yet, object store doesn't exist yet), we should also return no data instead of an error.

zackattack01
zackattack01 previously approved these changes Aug 12, 2024
@RebeccaMahany RebeccaMahany added this pull request to the merge queue Aug 12, 2024
@RebeccaMahany RebeccaMahany added bug-fixes Bug Fixes component:table Table Changes and removed bug-fixes Bug Fixes labels Aug 12, 2024
Merged via the queue into kolide:main with commit 3404ab6 Aug 12, 2024
20 of 21 checks passed
@RebeccaMahany RebeccaMahany deleted the becca/no-error-on-uninitialized-obj-store branch August 12, 2024 20:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component:table Table Changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants