LP#1882937: Comment and dead-code cleanup
authorMike Rylander <mrylander@gmail.com>
Wed, 10 Jun 2020 19:29:16 +0000 (15:29 -0400)
committerChris Sharp <csharp@georgialibraries.org>
Wed, 19 Aug 2020 15:32:43 +0000 (11:32 -0400)
commit2a7410d6148815c6fc5e22db413cb319c08e4694
tree64eb1343de26ce735dcaec947585d03ab6290082
parent2c7b169fcd65a89eef228b25db059fe9584f495e
LP#1882937: Comment and dead-code cleanup

Adjust comments in Storage::Driver::Pg to remove references to
Class::DBI::Replication, which we did not end up using.

Also remove a commented-out sub that purported to make use of a function
that did not exist in the home-grown multi-db implementation.

NOTE: While unused, the multi-db implementation in Storage::Driver::Pg
intelligently decides when to use a read-only secondary based on the
existence of a transaction or the "write-iness" state controlled by the
caller, and does not require separate main (or primary) and secondary
db lists.

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Driver/Pg.pm