What changed, and why it matters
This commit only adds a line to the release notes describing a previous performance improvement. It does not change any code, configuration, or behavior. There is no security issue here.
No action needed. This is a documentation-only release note update with no security relevance.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The commit is a documentation-only change to docs/release-notes/release-notes-0.20.1.md. It adds a release note entry describing PR #10356, which modified the IsPublicV1Node SQL query to use UNION ALL instead of OR conditions for performance reasons. The diff contains no code changes.
Changed components
Inspect captured patch +5 / −0
diff --git a/docs/release-notes/release-notes-0.20.1.md b/docs/release-notes/release-notes-0.20.1.md
index 571cfc3..7cb46cf 100644
--- a/docs/release-notes/release-notes-0.20.1.md
+++ b/docs/release-notes/release-notes-0.20.1.md
@@ -98,6 +98,10 @@
safe single-writer behavior until the wallet subsystem is fully
concurrent-safe.
+* [Modified the query for `IsPublicV1Node`](https://github.com/lightningnetwork/lnd/pull/10356)
+ to use `UNION ALL` instead of `OR` conditions in the `WHERE` clause, improving
+ performance when checking for public nodes especially in large graphs when using `SQL` backends.
+
## Deprecations
# Technical and Architectural Updates
@@ -113,5 +117,6 @@
# Contributors (Alphabetical Order)
+* Abdulkbk
* bitromortac
* Ziggie
Why this scored 15/100
Community notes
Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.
The AI analysis stands alone for now. Submit a note if you can add evidence or important context.