forked from project-chip/connectedhomeip
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Account for KVS collisions in NVM identifiers (project-chip#9489)
* Fix KVS implementation Old implementation was not taking into account collissions. The new implementation keeps an unorderded hash having as keys the matter string keys and as values the key ids used as PDM identifiers. Used key ids are saved in a list which is updated at each Put/Delete operation. Also, in order to be able to restore from flash the unordered hash, the matter string keys are saved in flash. Signed-off-by: Doru Gucea <[email protected]> * Fixes after review Signed-off-by: Doru Gucea <[email protected]> * Restyled by clang-format (project-chip#11433) Co-authored-by: Restyled.io <[email protected]> Signed-off-by: Doru Gucea <[email protected]> * Restyled by clang-format (project-chip#11464) Co-authored-by: Restyled.io <[email protected]> Signed-off-by: Doru Gucea <[email protected]> Co-authored-by: restyled-io[bot] <32688539+restyled-io[bot]@users.noreply.github.com> Co-authored-by: Restyled.io <[email protected]>
- Loading branch information
1 parent
d55a8cb
commit 4cf1431
Showing
1 changed file
with
190 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters