Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parsing of the history file contents needs dynamic memory management #834

Closed
hariramt opened this issue Jul 3, 2024 · 4 comments
Closed
Assignees
Labels
bug Something isn't working
Milestone

Comments

@hariramt
Copy link

hariramt commented Jul 3, 2024

One or more errors occurred while migrating 'cloud_volumes_telemetry' : pgcopydb failed with unknown errors. Please contact Microsoft support. Logs from the migration:

 2024-07-03 03:36:55.649 76 **ERROR pgsql.c:3553 history file "00000307.history" contains 1547 lines, pgcopydb only supports up to 1023 lines**
2024-07-03 03:36:55.739 75 ERROR follow.c:1058 Subprocess prefetch with pid 76 has exited with error code 12
2024-07-03 03:36:55.744 77 ERROR ld_stream.c:2781 Failed to read stream context file: retry policy expired 
2024-07-03 03:36:56.053 75 ERROR follow.c:655 Some sub-process exited with errors, see above for details 
2024-07-03 03:36:56.053 75 ERROR follow.c:294 Failed to follow changes from source, see above for details 
2024-07-03 03:37:12.599 51 ERROR cli_clone_follow.c:763 follow process 75 has terminated [12]
One or more errors occurred while migrating 'metrics_collector' : pgcopydb failed with unknown errors. Please contact Microsoft support.

Logs from the migration:

2024-07-03 03:36:55.666 70 ERROR follow.c:1058 Subprocess prefetch with pid 71 has exited with error code 12 
2024-07-03 03:36:55.671 72 ERROR ld_stream.c:2781 Failed to read stream context file: retry policy expired 
2024-07-03 03:36:55.983 70 ERROR follow.c:655 Some sub-process exited with errors, see above for details 
2024-07-03 03:36:55.983 70 ERROR follow.c:294 Failed to follow changes from source, see above for details 
2024-07-03 03:37:03.492 32 ERROR cli_clone_follow.c:763 follow process 70 has terminated [12]

EDIT NOTES: please use proper formatting and split lines. Also, is it on purpose that you submitted the same logs twice?

@hanefi hanefi self-assigned this Jul 3, 2024
@sharonl1970
Copy link

00000307.zip

File uploaded

@sharonl1970
Copy link

This is the history file that is compressed.

@dimitri dimitri added the bug Something isn't working label Jul 3, 2024
@dimitri dimitri added this to the v0.17 milestone Jul 3, 2024
@kaman05010
Copy link

Do we have an update on the GitHub bug?

Repository owner deleted a comment from sharonl1970 Jul 23, 2024
@hanefi
Copy link
Contributor

hanefi commented Aug 5, 2024

Completed in #848

@hanefi hanefi closed this as completed Aug 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants