Skip to content

Commit

Permalink
[pgmoneta#187]transfer cur_timeline info during reload & fix timeline…
Browse files Browse the repository at this point in the history
…_history

initialization
  • Loading branch information
Jubilee101 committed Mar 3, 2024
1 parent 64588c8 commit d02312b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/libpgmoneta/configuration.c
Original file line number Diff line number Diff line change
Expand Up @@ -2913,6 +2913,7 @@ copy_server(struct server* dst, struct server* src)
memcpy(&dst->wal_slot[0], &src->wal_slot[0], MISC_LENGTH);
memcpy(&dst->follow[0], &src->follow[0], MISC_LENGTH);
memcpy(&dst->wal_shipping[0], &src->wal_shipping[0], MAX_PATH);
dst->cur_timeline = src->cur_timeline;
dst->retention_days = src->retention_days;
dst->retention_weeks = src->retention_weeks;
dst->retention_months = src->retention_months;
Expand Down

0 comments on commit d02312b

Please sign in to comment.