VOL-2092 VOL-2116 : Ensure the latest data is updated
This fix resolves the issue when kv/memory does not
reflect the content of what was updated.
- Cleanup data on secondary core when removed from owner core
Amendments:
- Removed Config.Data from hash generation logic (redundant)
Change-Id: I08237e25d565ab0d875a81ad5b25b93cfd89914d
diff --git a/pkg/db/model/revision.go b/pkg/db/model/revision.go
index bb61355..71c5d0c 100644
--- a/pkg/db/model/revision.go
+++ b/pkg/db/model/revision.go
@@ -28,6 +28,7 @@
Drop(txid string, includeConfig bool)
StorageDrop(txid string, includeConfig bool)
ChildDrop(childType string, childHash string)
+ ChildDropByName(childName string)
SetChildren(name string, children []Revision)
GetChildren(name string) []Revision
SetAllChildren(children map[string][]Revision)