db-migrations-flyway-liquibase: fix dead Redgate/Liquibase doc links and back the lock-defaults claim with a real transcript
Several documentation.red-gate.com and liquibase.com URLs added in the previous commit had since moved (Redgate restructured its docs under /flyway/reference/, Liquibase Pro pricing moved to /pricing); this repoints them at the current, verified-200 pages. Also captures docs/output/16-liquibase-lock-defaults-javap.txt, the trimmed javap output backing chapter 11's claim about Liquibase's default lock-poll and lock-wait settings, which chapter 11 previously asserted without a committed artifact to back it. Co-Authored-By: Claude Sonnet 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Q6XdRjtsp4862EM44T7i9a
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
================================================================================
|
||||
Liquibase: confirming the default lock-poll and lock-wait settings via javap
|
||||
================================================================================
|
||||
captured: 2026-09-15T07:07:00.000000000Z
|
||||
|
||||
$ unzip -o -q liquibase-core-5.0.3.jar 'liquibase/GlobalConfiguration*.class' -d extracted
|
||||
$ javap -p -c -constants -classpath extracted liquibase.GlobalConfiguration
|
||||
|
||||
-- static initializer, defining CHANGELOGLOCK_WAIT_TIME --
|
||||
69: ldc #88 // String changelogLockWaitTimeInMinutes
|
||||
76: ldc #92 // String liquibase.changeLogLockWaitTimeInMinutes
|
||||
81: ldc #94 // String Number of minutes to wait for the changelog lock to be available before giving up
|
||||
86: ldc2_w #96 // long 5l
|
||||
98: putstatic #101 // Field CHANGELOGLOCK_WAIT_TIME:Lliquibase/configuration/ConfigurationDefinition;
|
||||
|
||||
-- static initializer, defining CHANGELOGLOCK_POLL_RATE --
|
||||
102: ldc #104 // String changelogLockPollRate
|
||||
109: ldc #106 // String liquibase.changeLogLockPollRate
|
||||
114: ldc #108 // String Number of seconds wait between checks to the changelog lock when it is locked
|
||||
119: ldc2_w #110 // long 10l
|
||||
131: putstatic #112 // Field CHANGELOGLOCK_POLL_RATE:Lliquibase/configuration/ConfigurationDefinition;
|
||||
|
||||
-- reading the two "long N" constants above off the bytecode directly --
|
||||
liquibase.changeLogLockPollRate -> default 10 (seconds between checks while the lock is held)
|
||||
liquibase.changeLogLockWaitTimeInMinutes -> default 5 (minutes before giving up entirely)
|
||||
Reference in New Issue
Block a user