Skip to content

Control stack guard page temporarily disabled - pgloader issue when migrating from Postgres to YSQL #3725

@lakshman-battini

Description

@lakshman-battini

Jira Link: DB-490
Hello, am getting 'Control stack guard page temporarily disabled' issue when migrating Postgres database to YSQL using pgloader. Below is the debug error log.

The schema in source database is very trivial, only one table in public schema with 5 rows. Tried migrating from postgres to postgres instance, it is working fine. The issue is when migrating from postgres to Yugabyte YSQL API.

2020-02-24T03:18:45.219000-05:00 NOTICE Prepare PostgreSQL database.
2020-02-24T03:18:45.613000-05:00 DEBUG CONNECTED TO #<PGLOADER.PGSQL:PGSQL-CONNECTION pgsql://postgres@<yb_tserver>:5433/migration {100639EE33}>
2020-02-24T03:18:45.613000-05:00 DEBUG SET client_encoding TO 'utf8'
2020-02-24T03:18:45.760000-05:00 DEBUG SET application_name TO 'pgloader'
2020-02-24T03:18:46.179000-05:00 DEBUG BEGIN
KABOOM!
INFO: Control stack guard page unprotected
Control stack guard page temporarily disabled: proceed with caution
2020-02-24T03:18:46.877000-05:00 INFO Stopping monitor

What I am doing here?

Control stack exhausted (no more space for function call frames).
This is probably due to heavily nested or infinitely recursive function
calls, or a tail call that SBCL cannot or has not optimized away.

PROCEED WITH CAUTION.

Pgloader load file:

load database
  from pgsql://<username>:<password>@localhost:5432/test
  into pgsql://<username>:<password>@<yb-tserver>:5433/migration
;

pgloader version:

pgloader version "3.6.1"
compiled with SBCL 1.4.0-1.el7

Tried with multiple pgloader versions, 3.6.1, 3.6.0 and 3.5.2. But still no luck.

YSQL version:
11.2-YB-2.0.6.0-b0

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions