8000 Bug fixes for the transform process. by dimitri · Pull Request #114 · dimitri/pgcopydb · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Bug fixes for the transform process. #114

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

Merged
merged 1 commit into from
Sep 29, 2022

Conversation

dimitri
Copy link
Owner
@dimitri dimitri commented Sep 29, 2022
  • make sure to reset the FILE * pointer to NULL after closing the file.
  • use a stable sub-process to transform JSON files into SQL.

For the second point, we re-use the queuing infrastructure introduced in a recent patch. This allows to have a single sub-process started that will handle all the JSON to SQL transformations during replay.

 - make sure to reset the FILE * pointer to NULL after closing the file.
 - use a stable sub-process to transform JSON files into SQL.

For the second point, we re-use the queuing infrastructure introduced in a
recent patch. This allows to have a single sub-process started that will
handle all the JSON to SQL transformations during replay.
@dimitri dimitri merged commit 5d3b78d into main Sep 29, 2022
@dimitri dimitri deleted the fix/stable-process-for-json-to-sql branch September 29, 2022 14:30
arajkumar added a commit to arajkumar/pgcopydb that referenced this pull request Jun 26, 2024
The logic which removes redundant SET for columns who's value is same as
in WHERE clause accesses oldValue using newValue index. Both can have
varying size items causing out of bound access.

We use the correct index to access the old column name, but incorrect
index has been used to access the old column value.

Solution: Use old column index to access it's value

Upstream PR: dimitri#809

Signed-off-by: Arunprasad Rajkumar <ar.arunprasad@gmail.com>
arajkumar added a commit to arajkumar/pgcopydb that referenced this pull request Jun 26, 2024
efce882 Problem: Array out of bounds access during transform (dimitri#114)
b772480 test: jobs migration created by another user
ab53bb8 Problem: double analyze performed on hypertable chunks (dimitri#113)
f483439 test: migration of case sensitive objects
98274d3 (chore) Refactor live-migration teardown (dimitri#111)

Signed-off-by: Arunprasad Rajkumar <ar.arunprasad@gmail.com>
hanefi pushed a commit to hanefi/pgcopydb that referenced this pull request Feb 21, 2025
…imitri#114)

* Move `parse_version_number` to Rust and add unit tests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant
0