Merge pull request #10356 from Abdulkbk/ispublicnode-perf
graph: fix inefficient query for IsPublicNode
This commit is contained in:
4 files changed
+45
-2
No files matched your search
@@ -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
|
||||
Reference in new issue
Block a user