Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(data): add codes to remove db index of reading:deviceName:resourc…
…eName when deleting readings When adding readings, a redis sorted set will be created as db index for the relation of reading:deviceName:resourceName, and this index will be used to query readings by deviceName and resourceName. However, the current implementation doesn't remove such index when an associated event is deleted, thus generating incorrect query result for readings. This commit fixes this bug by adding codes to remove db index of reading:deviceName:resourceName while deleting readings. closes edgexfoundry#3774 Signed-off-by: Jude Hung <[email protected]>
- Loading branch information