Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Repair backup failed (the value of segment_size is greater than 2G)#510

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
hslightdb wants to merge4 commits intopostgrespro:master
base:master
Choose a base branch
Loading
fromhslightdb:merge510

Conversation

hslightdb
Copy link

If the value of segment_size is greater than 2G, the file length will overflow. In this case, the backup will fail.

@hslightdbhslightdb requested review fromfunny-falcon and removed request forgsmolk andkulaginmOctober 19, 2022 02:40
@qiuwenhuifx
Copy link

@funny-falcon ,I see this problem still exists, are there any plans to fix this?

qiuwenhuifx reacted with confused emoji

@qiuwenhuifx
Copy link

qiuwenhuifx commentedAug 24, 2023
edited
Loading

@funny-falcon
INFO: Backup files are synced, time elapsed: 0
INFO: Validating backup RZW6OO
ERROR: Cannot seek block 261889 of "/data00/pgsql/backup/backups/pg_5436/RZW6OO/database/base/16393/16440.1": Invalid argument
ERROR: Data files validation failed
pgsql@n97-16-066:~$ du -sh /data00/pgsql/backup/backups/pg_5436/RZW6OO/database/base/16393/16440.1
2.4G/data00/pgsql/backup/backups/pg_5436/RZW6OO/database/base/16393/16440.1

@funny-falcon
Copy link
Collaborator

Currently there are no plans to fix it, since it quite hard due to backward compatibility issues.

@funny-falcon
Copy link
Collaborator

Ah, I see: your patch is quite capable. Ok, let me think once more.

@qiuwenhuifx
Copy link

@funny-falcon ,It seems n_blocks variable type is int ( file->n_blocks = (int) n_blocks) ,postgrespro has already fixed the (xid 32bit) issue, I think no reason why it can't be fixed!,Thank you very much

qiuwenhuifx reacted with confused emoji

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@funny-falconfunny-falconAwaiting requested review from funny-falcon

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

3 participants
@hslightdb@qiuwenhuifx@funny-falcon

[8]ページ先頭

©2009-2025 Movatter.jp