The root go.mod carries three replace directives that point submodules at the in-tree copy:
// TODO(gijs): remove once new queue package is released.
replace github.com/lightningnetwork/lnd/queue => ./queue
// TODO(elle): remove once the gossip V2 sqldb changes have been made.
replace github.com/lightningnetwork/lnd/sqldb => ./sqldb
// TODO: remove once kvdb with pgx/v5 is released.
replace github.com/lightningnetwork/lnd/kvdb => ./kvdb
The awaited changes already exist on master but no tag has been cut that contains them:
queue — last tag queue/v1.1.1. Master contains queue: add BackpressureQueue[T] with Random Early Drop (ea8a665), which is the "new queue package" referenced in the TODO. Needs queue/v1.2.0.
kvdb — last tag kvdb/v1.4.16. Master contains kvdb: bump pgx/v4/stdlib to pgx/v5/stdlib (848af80) — the pgx/v5 change called out in the TODO. Needs kvdb/v1.5.0.
sqldb — last tag sqldb/v1.0.12 (root go.mod still pins v1.0.11). Master contains the full sqldb/v2 work and the gossip-V2-related schema/queries. Needs the next sqldb release once the v2/gossip work is ready to ship.
Action items
Related
- Root
go.mod lines 200–207
The root
go.modcarries threereplacedirectives that point submodules at the in-tree copy:The awaited changes already exist on
masterbut no tag has been cut that contains them:queue— last tagqueue/v1.1.1. Master containsqueue: add BackpressureQueue[T] with Random Early Drop(ea8a665), which is the "new queue package" referenced in the TODO. Needsqueue/v1.2.0.kvdb— last tagkvdb/v1.4.16. Master containskvdb: bump pgx/v4/stdlib to pgx/v5/stdlib(848af80) — the pgx/v5 change called out in the TODO. Needskvdb/v1.5.0.sqldb— last tagsqldb/v1.0.12(rootgo.modstill pinsv1.0.11). Master contains the fullsqldb/v2work and the gossip-V2-related schema/queries. Needs the nextsqldbrelease once the v2/gossip work is ready to ship.Action items
kvdb/v1.5.0containing the pgx/v5 migration.queue/v1.2.0containingBackpressureQueue[T].sqldbtag once gossip-V2 changes have landed (separate scope; track here so we don't forget).go.modrequireversions and remove the threereplacedirectives.go mod tidyandmake tidy-module-check.Related
go.modlines 200–207