Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Open Subsurface Data Universe Software
Platform
System
Partition
Commits
ba1f235d
Commit
ba1f235d
authored
Jan 10, 2021
by
Alok Joshi
Browse files
always clear list cache when deleting partition
parent
8400d1ca
Changes
1
Hide whitespace changes
Inline
Side-by-side
partition-core/src/main/java/org/opengroup/osdu/partition/service/CachedPartitionServiceImpl.java
View file @
ba1f235d
...
...
@@ -87,9 +87,8 @@ public class CachedPartitionServiceImpl implements IPartitionService {
if
(
partitionService
.
deletePartition
(
partitionId
))
{
if
(
partitionServiceCache
.
get
(
partitionId
)
!=
null
)
{
partitionServiceCache
.
delete
(
partitionId
);
partitionListCache
.
clearAll
();
}
partitionListCache
.
clearAll
();
return
true
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment