question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Regression: StackOverflowError processing large Postgres SQL changeset

See original GitHub issue

Environment

Liquibase Version: 4.1.1

Liquibase Integration & Version: Spring Boot

Database Vendor & Version: Postgres 12.3

Operating System Type & Version: Ubuntu 20.04

Description

There’s a regression after upgrading from 4.1.0 to 4.1.1 that is causing StackOverflowError while generating Postgres statement during processing a large SQL file-based changeset. It seems to be a regression introduced in #912 while trying to fix CORE-3379.

Steps To Reproduce

Create a changeset:

<changeSet id="StackOverflowError" author="goostleek">
    <sqlFile path="large.sql" relativeToChangelogFile="true"/>
</changeSet>

The sqlFile is ~200kb. It’s been included in the file in the PR #1508 which introduces a failing unit test presenting the error.

Actual Behavior

StackOverflowError is thrown during SpringBoot application startup while applying the changest.

Expected/Desired Behavior

The changeset is executed successfully like it was before upgrading to Liquibase 4.1.1.

Additional Context

See #912, #1508

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
maksudsharifcommented, Jun 25, 2021

Just wanted to confirm that the solution by @chtibob69 resolves the issues for now. Cheers!

1reaction
molivasdatcommented, Jun 25, 2021

Hi @maksudsharif We are moving it through getting it into a release. I don’t have an ETA yet. In the meantime, I would suggest using the workaround that @chtibob69 mentions.

Read more comments on GitHub >

github_iconTop Results From Across the Web

StackOverflowError processing large Postgres SQL changeset
Actual Behavior. StackOverflowError is thrown during SpringBoot application startup while applying the changest. Expected/Desired Behavior. The ...
Read more >
Linear regression with postgres - Stack Overflow
Is it possible to directly enter a SQL query that will calculate linear regression per station for each date, knowing that the regression...
Read more >
Changelog for skylighting-0.5.0.1 | Hackage
Revision history for skylighting. 0.5.0.1 -- 2017-12-18. Small improvements to fuzz tests in test suite. We now ensure that we print the random...
Read more >
PHP 7 ChangeLog
Fixed bug #81500 (Interval serialization regression since 7.3.14 / 7.4.2). ... Fixed bug #81026 (PHP-FPM oob R/W in root process leading to privilege ......
Read more >
[Solved]-R - Testing for homo/heteroscedasticity and collinearity in a ...
Coding example for the question R - Testing for homo/heteroscedasticity and collinearity in a multivariate regression model-R.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found