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

Commit36f21a9

Browse files
committed
[Issue#369] add elog message about failure of obtaining history file via replication protocol
1 parentb1442f4 commit36f21a9

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

‎src/backup.c

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,14 +161,17 @@ do_backup_instance(PGconn *backup_conn, PGNodeInfo *nodeInfo, bool no_sync, bool
161161
if (prev_backup==NULL)
162162
{
163163
/* try to setup multi-timeline backup chain */
164-
elog(WARNING,"Valid backup on current timeline %u is not found, "
164+
elog(WARNING,"Validfullbackup on current timeline %u is not found, "
165165
"trying to look up on previous timelines",
166166
current.tli);
167167

168168
tli_list=get_history_streaming(&instance_config.conn_opt,current.tli,backup_list);
169169
if (!tli_list)
170+
{
171+
elog(WARNING,"Failed to obtain current timeline history file via replication protocol");
170172
/* fallback to using archive */
171173
tli_list=catalog_get_timelines(&instance_config);
174+
}
172175

173176
if (parray_num(tli_list)==0)
174177
elog(WARNING,"Cannot find valid backup on previous timelines, "

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp