Skip to content

Commit

Permalink
AbstractMetadataStore: invalidate childrenCache correctly when node c…
Browse files Browse the repository at this point in the history
…reated
  • Loading branch information
michaeljmarshall authored and lhotari committed Feb 8, 2022
1 parent 60d462a commit d5ce3a0
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,7 @@ public void accept(Notification n) {

if (type == NotificationType.Created || type == NotificationType.Deleted) {
existsCache.synchronous().invalidate(path);
childrenCache.synchronous().invalidate(path);
String parent = parent(path);
if (parent != null) {
childrenCache.synchronous().invalidate(parent);
Expand Down

0 comments on commit d5ce3a0

Please sign in to comment.