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

Commit46da0d8

Browse files
committed
Replace error with warning in fileEqualCRC
1 parent04f0097 commit46da0d8

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

‎src/data.c‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1704,11 +1704,13 @@ fileEqualCRC(const char *path1, const char *path2, bool path2_is_compressed)
17041704
{
17051705
intread_len=fio_gzread(gz_in,buf,sizeof(buf));
17061706
if (read_len <=0&& !fio_gzeof(gz_in))
1707+
{
17071708
/* An error occurred while reading the file */
1708-
elog(ERROR,
1709+
elog(WARNING,
17091710
"Cannot compare WAL file \"%s\" with compressed \"%s\": %d",
17101711
path1,path2,read_len);
1711-
1712+
return false;
1713+
}
17121714
COMP_FILE_CRC32(true,crc2,buf,read_len);
17131715
if (fio_gzeof(gz_in)||read_len==0)
17141716
break;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp