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

Appearance settings

Commit 36f21a9

Browse filesBrowse files
committed
[Issue #369] add elog message about failure of obtaining history file via replication protocol
1 parent b1442f4 commit 36f21a9
Copy full SHA for 36f21a9

File tree

1 file changed

+4
-1
lines changed
Filter options

1 file changed

+4
-1
lines changed

‎src/backup.c

Copy file name to clipboardExpand all lines: src/backup.c
+4-1Lines 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, "Valid full backup 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.