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

Instead of checking subfolders of the remote storage immudb checks it from the root. #1865

Open
MaksymVynohradovDA opened this issue Nov 9, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@MaksymVynohradovDA
Copy link

Hi! According to the codebase we have:

	// Ensure all sub-folders are created, init code relies on this
	_, subFolders, err := storage.ListEntries(context.Background(), "")

And in this case we cant deal with two DB that keep their data in the same S3 but separate subfolders.

So I expect something like:

	// Ensure all sub-folders are created, init code relies on this
	_, subFolders, err := storage.ListEntries(context.Background(), s.Options.RemoteStorageOptions.S3PathPrefix+"/")

Probably I'm wrong, but it would be nice if you take a look. Thanks!

@MaksymVynohradovDA MaksymVynohradovDA added the bug Something isn't working label Nov 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant