-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
DynamoDB Nested Values Bug #4570
Conversation
2853923
to
38d361a
Compare
The main issue here seemed to be the interaction between
|
38d361a
to
93c2f08
Compare
…ent overzealous cleanup of folders and values
93c2f08
to
226f4f4
Compare
Hi Matt, I think the test you wrote makes sense and it's good that it exposed/fixed this behavior in Dynamo. PR looks fine to me! |
@jefferai do you think we might be able to cut the 0.10.2 release sometime this week? I just saw all the tickets for this one have been closed. We're dying to get our hands on the latest build, we're stuck right now and not able to delete any records from our DynamoDB backed vaults. Thanks so much! |
It'll be this week for sure. |
(Hopefully it will be tomorrow) |
We just ran into a very similar behavior bug to this again
I plan on following up with Matt on this at some point and we'll open a new issue if we can confirm the behavior on latest vault |
While doing some deletes of nested paths on a Vault server backed by DynamoDB I noticed some odd behavior where deep nested value deletes could make it seem like the Vault was empty. There are some tests of deep nesting in the code already, but they did not expose this behavior in the DynamoDB backend. Based on my experimentation it seems this behavior occurs when the logical root path only contains "folder" keys and no "value" keys.
This doesn't appear to be a problem for any of the other back ends but it seemed to me like the kind of test that should run on them all. Happy to move this to the DynamoDB test file as a stand alone if folks don't agree.
I'm working on the fix to this issue but wanted to validate the problem with a failed CI run first.