Commit bcb01f2
committed
kvs: correct code logic about what is an append
Problem: In PR #2547, a fix was added into the KVS to deal with duplicate
appends to a KVS entry. However, a corner case was left in the code.
When an append is done to a KVS entry that does not exist, the append
is treated like a normal insertion. This corner case should also be
counted as an "append". Otherwise, duplicate appends could happen at
the beginning of a KVS entry when it is created.
Solution: Set the append flag to true when a KVS entry does not exist
and the append is treated like an insert.
Fixes #62071 parent c9296ea commit bcb01f2
1 file changed
+4
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
495 | 495 | | |
496 | 496 | | |
497 | 497 | | |
| 498 | + | |
| 499 | + | |
| 500 | + | |
| 501 | + | |
498 | 502 | | |
499 | 503 | | |
500 | 504 | | |
| |||
0 commit comments