We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
1 parent8cfc6be commit9d27333Copy full SHA for 9d27333
data.c
@@ -194,6 +194,7 @@ backup_data_file(const char *from_root, const char *to_root,
194
if (try_checksum)
195
{
196
elog(WARNING,"File: %s blknum %u have wrong checksum, try again",file->path,blknum);
197
+usleep(100);
198
fseek(in,-sizeof(page),SEEK_CUR);
199
fread(&page,1,sizeof(page),in);
200
}
@@ -281,8 +282,6 @@ backup_data_file(const char *from_root, const char *to_root,
281
282
inti;
283
284
for(i=0;i<BLCKSZ&&page.data[i]==0;i++);
-
285
286
if (i==BLCKSZ)
287
288
elog(WARNING,"File: %s blknum %u, empty page",file->path,blknum);
@@ -306,6 +305,7 @@ backup_data_file(const char *from_root, const char *to_root,
306
305
307
308
elog(WARNING,"File: %s blknum %u have wrong page header, try again",file->path,blknum);
309
310
311
continue;