Skip to content

Commit ad87b49

Browse files
committed
docs: add release notes for race condition fixes
1 parent 439c3ed commit ad87b49

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

docs/release-notes/release-notes-0.20.1.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,14 @@
4747
or key) existed. The manager now correctly regenerates both files when either
4848
is missing, preventing "file not found" errors on startup.
4949

50+
* [Fixed race conditions](https://github.com/lightningnetwork/lnd/pull/10433) in
51+
the channel graph database. The `Node.PubKey()` and
52+
`ChannelEdgeInfo.NodeKey1/NodeKey2()` methods had check-then-act races when
53+
caching parsed public keys. Additionally, `DisconnectBlockAtHeight` was
54+
accessing the reject and channel caches without proper locking. The caching
55+
has been removed from the public key parsing methods, and proper mutex
56+
protection has been added to the cache access in `DisconnectBlockAtHeight`.
57+
5058
# New Features
5159

5260
## Functional Enhancements

0 commit comments

Comments
 (0)