Menu

#101 cleanup doesn't work well.

Done
None
Medium
Improvement
2015-03-26
2015-03-24
No

hi,

I found a small bug with standby-backup.
The problem is cleanup function doesn't work well.

How to reproduce:
1)build Streaming Replication environment.
2)initialize pg_rman's backup directory.
3)take a backup with incremental mode.

At 3), you will get an error:
There is indeed a full backup but it is not validated.
Please take a full backup and validate it before doing an arclog backup.

This behavior is alright, but next full backup will fail
because pg_rman doesn't issue pg_stop_backup to master.

I attached a patch for revising this.
Please check it!

regards,

1 Attachments

Discussion

  • Takashi Ohnishi

    Takashi Ohnishi - 2015-03-26

    Hi,

    Thanks for reporting and submitting a patch.
    I have confirmed that the trouble can be reproduced.

    I will check the patch and commit.

    Thanks.

     
  • Takashi Ohnishi

    Takashi Ohnishi - 2015-03-26
    • status: New --> Accepted
    • assigned_to: Tomonari Katsumata --> Takashi Ohnishi
     
  • Takashi Ohnishi

    Takashi Ohnishi - 2015-03-26

    I have committed.

     
  • Takashi Ohnishi

    Takashi Ohnishi - 2015-03-26
    • status: Accepted --> Done
     

Log in to post a comment.

MongoDB Logo MongoDB