)]}'
{"/PATCHSET_LEVEL":[{"author":{"_account_id":28691,"name":"Bo Tran","email":"ministry.96.nd@gmail.com","username":"ministry"},"change_message_id":"2e9f81ab0bdc4b765aa22db1a4e86871cd85e3e0","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":2,"id":"9b32ed6c_bc0d01ae","updated":"2023-07-31 03:42:38.000000000","message":"/recheck","commit_id":"f432dd659abe54ae7fb6785d22bba610443598c8"},{"author":{"_account_id":28691,"name":"Bo Tran","email":"ministry.96.nd@gmail.com","username":"ministry"},"change_message_id":"294fe68d300f4cb3061cfe989e52b0646ee5ee5c","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":2,"id":"ab2f443d_cab1b5b3","updated":"2023-07-28 07:20:13.000000000","message":"/recheck","commit_id":"f432dd659abe54ae7fb6785d22bba610443598c8"},{"author":{"_account_id":28691,"name":"Bo Tran","email":"ministry.96.nd@gmail.com","username":"ministry"},"change_message_id":"30a35ebc4c005eee7b73f137f8ea0aebd4adc6be","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":2,"id":"ed0bfacf_9c62f7d7","updated":"2023-07-28 07:19:53.000000000","message":"/recheck","commit_id":"f432dd659abe54ae7fb6785d22bba610443598c8"},{"author":{"_account_id":26285,"name":"wu.chunyang","email":"wchy1001@gmail.com","username":"wu.chunyang"},"change_message_id":"bc0d81dc2563249ad1ac8070aa5b13a6a08f943e","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":2,"id":"af6bcf6a_a6916167","updated":"2023-07-28 05:49:13.000000000","message":"failed to create backup: \n\nhttps://zuul.opendev.org/t/openstack/build/fb772fb74a9048f7882c8b4b7a95403d/log/controller/logs/guest-agent-logs/76cb9b48-e1f6-427c-b415-f2c560b6947c/containers/5cd2f4235d2e0743d33f44d3dcd02e5027d1902a343e65a2638a70ec873bca79/5cd2f4235d2e0743d33f44d3dcd02e5027d1902a343e65a2638a70ec873bca79-json_log.txt\n\n\nhttps://zuul.opendev.org/t/openstack/build/fb772fb74a9048f7882c8b4b7a95403d/log/controller/logs/guest-agent-logs/76cb9b48-e1f6-427c-b415-f2c560b6947c/log/trove/trove-guestagent_log.txt","commit_id":"f432dd659abe54ae7fb6785d22bba610443598c8"},{"author":{"_account_id":26285,"name":"wu.chunyang","email":"wchy1001@gmail.com","username":"wu.chunyang"},"change_message_id":"2cb4b1ad33523d6828fedf932e1dab40e16d1b1c","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":2,"id":"43eaafd6_2f7d500c","updated":"2023-07-27 10:20:45.000000000","message":"failed to create the backup in CI: terminating connection due to administrator command\n\nhttps://zuul.opendev.org/t/openstack/build/af66208e95e54c14a0387ff451918022/log/controller/logs/guest-agent-logs/6b1a5665-9d0e-422e-ae97-b900e829c4b4/containers/2b3c517c98c3fbc8e5f4ea87f87a7090bea56085ecebf7beccffcf6635b5f6c7/2b3c517c98c3fbc8e5f4ea87f87a7090bea56085ecebf7beccffcf6635b5f6c7-json_log.txt#40\n\nnot sure that is related to this commit.\n\nrecheck","commit_id":"f432dd659abe54ae7fb6785d22bba610443598c8"},{"author":{"_account_id":26285,"name":"wu.chunyang","email":"wchy1001@gmail.com","username":"wu.chunyang"},"change_message_id":"0e165cd7f087d40995c4ac3587d18e8e65ebf4cf","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":2,"id":"7c3d7e79_de5070b8","updated":"2023-07-28 03:00:44.000000000","message":"recheck","commit_id":"f432dd659abe54ae7fb6785d22bba610443598c8"},{"author":{"_account_id":26285,"name":"wu.chunyang","email":"wchy1001@gmail.com","username":"wu.chunyang"},"change_message_id":"f7a871d2d06e9edf0958cab6afc3dc555a297048","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":2,"id":"7cf0e99d_6343bdbf","updated":"2023-07-31 03:47:40.000000000","message":"recheck","commit_id":"f432dd659abe54ae7fb6785d22bba610443598c8"},{"author":{"_account_id":26285,"name":"wu.chunyang","email":"wchy1001@gmail.com","username":"wu.chunyang"},"change_message_id":"9c19b1320cfe175d1cb3bbb23edc67faa1cad699","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":2,"id":"7d93d92f_99e020e9","updated":"2023-07-31 06:11:25.000000000","message":"the ERROR still occured: https://zuul.opendev.org/t/openstack/build/0e6eb7a5b5f4429b82135b33010897ed/log/controller/logs/guest-agent-logs/9e8f9c8a-7ab2-45f6-8749-8b20e73129a1/containers/fcbc15010d87fcfc50f4645488914fba964774c52fa3c7355fcb3eefa5b6a902/fcbc15010d87fcfc50f4645488914fba964774c52fa3c7355fcb3eefa5b6a902-json_log.txt","commit_id":"f432dd659abe54ae7fb6785d22bba610443598c8"},{"author":{"_account_id":28691,"name":"Bo Tran","email":"ministry.96.nd@gmail.com","username":"ministry"},"change_message_id":"30a35ebc4c005eee7b73f137f8ea0aebd4adc6be","unresolved":true,"context_lines":[],"source_content_type":"","patch_set":2,"id":"1775b707_7f955ec8","in_reply_to":"af6bcf6a_a6916167","updated":"2023-07-28 07:19:53.000000000","message":"I don\u0027t break logic when get metadata. This error happened when can\u0027t get backup_file.","commit_id":"f432dd659abe54ae7fb6785d22bba610443598c8"},{"author":{"_account_id":28691,"name":"Bo Tran","email":"ministry.96.nd@gmail.com","username":"ministry"},"change_message_id":"58b525ab543dfb3b54ec9698270825749c0e95bf","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":3,"id":"6ce26958_c437bd5d","updated":"2023-08-01 01:39:48.000000000","message":"@wu.chunyag Can you help me? My change not effect when get backup_file but in container\u0027s log. I was go this error:\n\u003e {\"log\":\"2023-07-31 08:00:49.557 8 INFO __main__ [-] Starting backup database to swift, backup ID 546d20b6-a6d4-43a7-ae24-5e62b2afd362\\u001b[00m\\n\",\"stream\":\"stdout\",\"time\":\"2023-07-31T08:00:49.678862437Z\"}\n\u003e {\"log\":\"2023-07-31 08:00:49.573 8 INFO backup.drivers.base [-] Running backup cmd: pg_basebackup -U postgres -Ft -z --wal-method\u003dfetch --no-manifest --label\u003d546d20b6-a6d4-43a7-ae24-5e62b2afd362 --pgdata\u003d-\\u001b[00m\\n\",\"stream\":\"stdout\",\"time\":\"2023-07-31T08:00:49.732835212Z\"}\n\u003e {\"log\":\"2023-07-31 08:00:49.836 8 INFO backup.storage.swift [-] Saving 546d20b6-a6d4-43a7-ae24-5e62b2afd362.tar.gz to database_backups in swift.\\u001b[00m\\n\",\"stream\":\"stdout\",\"time\":\"2023-07-31T08:00:49.898374067Z\"}\n\u003e {\"log\":\"2023-07-31 08:00:50.655 8 INFO backup.storage.swift [-] Uploading to http://158.69.67.7:8080/v1/AUTH_5bc25c0662724972b33c39d444d7530b/database_backups/546d20b6-a6d4-43a7-ae24-5e62b2afd362.tar.gz\\u001b[00m\\n\",\"stream\":\"stdout\",\"time\":\"2023-07-31T08:00:50.68923868Z\"}\n\u003e {\"log\":\"2023-07-31 08:00:52.193 8 INFO backup.drivers.postgres [-] backup_file: [None]\\u001b[00m\\n\",\"stream\":\"stdout\",\"time\":\"2023-07-31T08:00:52.19846065Z\"}\n\u003e {\"log\":\"2023-07-31 08:00:52.366 8 INFO backup.drivers.postgres [-] self.is_read_only: [False]\\u001b[00m\\n\",\"stream\":\"stdout\",\"time\":\"2023-07-31T08:00:52.385285949Z\"}\n\u003e {\"log\":\"2023-07-31 08:00:59.358 8 INFO backup.drivers.postgres [-] backup_file: [None]\\u001b[00m\\n\",\"stream\":\"stdout\",\"time\":\"2023-07-31T08:00:59.380690024Z\"}\n\u003e {\"log\":\"2023-07-31 08:00:59.367 8 INFO backup.drivers.postgres [-] self.is_read_only: [False]\\u001b[00m\\n\",\"stream\":\"stdout\",\"time\":\"2023-07-31T08:00:59.38305767Z\"}\n\u003e {\"log\":\"2023-07-31 08:01:12.975 8 INFO backup.drivers.postgres [-] backup_file: [None]\\u001b[00m\\n\",\"stream\":\"stdout\",\"time\":\"2023-07-31T08:01:12.990060205Z\"}\n\u003e {\"log\":\"2023-07-31 08:01:12.986 8 INFO backup.drivers.postgres [-] self.is_read_only: [False]\\u001b[00m\\n\",\"stream\":\"stdout\",\"time\":\"2023-07-31T08:01:13.016799574Z\"}\n\u003e {\"log\":\"2023-07-31 08:01:28.595 8 INFO backup.drivers.postgres [-] backup_file: [None]\\u001b[00m\\n\",\"stream\":\"stdout\",\"time\":\"2023-07-31T08:01:28.59922332Z\"}\n\u003e {\"log\":\"2023-07-31 08:01:28.601 8 INFO backup.drivers.postgres [-] self.is_read_only: [False]\\u001b[00m\\n\",\"stream\":\"stdout\",\"time\":\"2023-07-31T08:01:28.606760637Z\"}","commit_id":"dd9d7b8156079457b0d75092cbc36272e6418d25"},{"author":{"_account_id":26285,"name":"wu.chunyang","email":"wchy1001@gmail.com","username":"wu.chunyang"},"change_message_id":"38d5f13e6e20452ba46d307da26dc1c7a1b75503","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":3,"id":"0b3ad4fa_8a3c251d","updated":"2023-08-02 06:09:29.000000000","message":"this may be caused by this patch: https://review.opendev.org/c/openstack/trove/+/890263","commit_id":"dd9d7b8156079457b0d75092cbc36272e6418d25"},{"author":{"_account_id":26285,"name":"wu.chunyang","email":"wchy1001@gmail.com","username":"wu.chunyang"},"change_message_id":"84068e5fdecb2441877b86921b0febda1a87f783","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":3,"id":"d4810278_790b8885","in_reply_to":"6ce26958_c437bd5d","updated":"2023-08-02 06:07:24.000000000","message":"ok, i will take an investigation","commit_id":"dd9d7b8156079457b0d75092cbc36272e6418d25"},{"author":{"_account_id":26285,"name":"wu.chunyang","email":"wchy1001@gmail.com","username":"wu.chunyang"},"change_message_id":"8c0d8aa8b71464f76f578960b47f76be7ee5a44c","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":4,"id":"95fb6f01_d7595e3f","updated":"2023-08-04 09:06:53.000000000","message":"still failed with: {\"log\":\"2023-08-04 07:12:40.533 8 ERROR __main__ RuntimeError: Failed to get backup metadata for backup 2213a514-bc7f-42a1-b991-6208f4734487: Looping call timed out after 62.70 seconds\\n\",\"stream\":\"stdout\",\"time\":\"2023-08-04T07:12:40.616579548Z\"}","commit_id":"8eb186f7e1a46e25f780ef8687fcd9606be478e5"},{"author":{"_account_id":28691,"name":"Bo Tran","email":"ministry.96.nd@gmail.com","username":"ministry"},"change_message_id":"19bb084ff01afb668f98806d6f3eeccb5a98e0cc","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":5,"id":"b218d121_e4eeedb3","updated":"2023-08-05 01:18:18.000000000","message":"@wu.chunyang I think the CI maybe have problem, the command backup will make error when un-compress with tar because it make a manifest.tar when backup.","commit_id":"116e9de8746fcd1fc07427f6f83baaf780f11606"},{"author":{"_account_id":26285,"name":"wu.chunyang","email":"wchy1001@gmail.com","username":"wu.chunyang"},"change_message_id":"e01b7b1e785d71810360255c54c187503448449e","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":5,"id":"2324eabc_50e8f5f4","updated":"2023-08-06 03:22:59.000000000","message":"recheck failed to create nova instance","commit_id":"116e9de8746fcd1fc07427f6f83baaf780f11606"},{"author":{"_account_id":26285,"name":"wu.chunyang","email":"wchy1001@gmail.com","username":"wu.chunyang"},"change_message_id":"7b9aa20c5694bcaee46efca138cb3001b70a3b39","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":5,"id":"f1e8d733_393d44a8","in_reply_to":"14f255c9_b4cfd0c0","updated":"2023-08-07 02:20:12.000000000","message":"where can we find this error message?","commit_id":"116e9de8746fcd1fc07427f6f83baaf780f11606"},{"author":{"_account_id":26285,"name":"wu.chunyang","email":"wchy1001@gmail.com","username":"wu.chunyang"},"change_message_id":"5ac8c53ee36bbada473fba30e024e077fa32e1f4","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":5,"id":"d598aa25_e77de914","in_reply_to":"ab12ba45_cc942fa7","updated":"2023-08-06 03:20:09.000000000","message":"the network_isolation jobs failed, i will take an investigation","commit_id":"116e9de8746fcd1fc07427f6f83baaf780f11606"},{"author":{"_account_id":28691,"name":"Bo Tran","email":"ministry.96.nd@gmail.com","username":"ministry"},"change_message_id":"cde357487cbf9858946787b64d9366238b27b69d","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":5,"id":"ab12ba45_cc942fa7","in_reply_to":"b218d121_e4eeedb3","updated":"2023-08-05 01:23:50.000000000","message":"It was passed CI, otherwise.","commit_id":"116e9de8746fcd1fc07427f6f83baaf780f11606"},{"author":{"_account_id":28691,"name":"Bo Tran","email":"ministry.96.nd@gmail.com","username":"ministry"},"change_message_id":"0ed718f0f45d60e15904aad3a7ca8ffac7469fd5","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":5,"id":"14f255c9_b4cfd0c0","in_reply_to":"d598aa25_e77de914","updated":"2023-08-07 02:11:11.000000000","message":"can you help me recheck about `the command backup will make error when un-compress with tar because it make a manifest.tar when backup.` (the command backup wihout option --no-manifest)","commit_id":"116e9de8746fcd1fc07427f6f83baaf780f11606"},{"author":{"_account_id":28691,"name":"Bo Tran","email":"ministry.96.nd@gmail.com","username":"ministry"},"change_message_id":"868f2ad3f3a4faa11e118afebefe8abf8272e210","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":5,"id":"47f63300_cd2b6d8c","in_reply_to":"f1e8d733_393d44a8","updated":"2023-08-07 02:31:21.000000000","message":"this error message, I had get when do restore backup. It will raise \"A lone zero block\" - if we use command backup without option `--no-manifest`.\n\nIn this patch, if I add above option, it can\u0027t pass CI/CD.","commit_id":"116e9de8746fcd1fc07427f6f83baaf780f11606"},{"author":{"_account_id":26285,"name":"wu.chunyang","email":"wchy1001@gmail.com","username":"wu.chunyang"},"change_message_id":"7483a57bdbb8fc04b2ba6500d041f39094389ae4","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":6,"id":"c51da079_ddb26431","updated":"2023-08-09 03:59:53.000000000","message":"CI still failed: https://zuul.opendev.org/t/openstack/build/76cfe733c4f2497284d5216fbebced14/log/controller/logs/guest-agent-logs/e87a4d3e-ffa7-480c-bd26-28113dc6209a/containers/d8a8a101f8725ec997a728cd5cbb04565b9ceed9445e62c4de550881174a2bcc/d8a8a101f8725ec997a728cd5cbb04565b9ceed9445e62c4de550881174a2bcc-json_log.txt","commit_id":"2a7da20c83e583066f978c424844b9683c062f47"},{"author":{"_account_id":26285,"name":"wu.chunyang","email":"wchy1001@gmail.com","username":"wu.chunyang"},"change_message_id":"1b8d40c0fda7aa44b86d7aedbe7d1aa5fc06f8b1","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":6,"id":"5ffcd1df_ac3a177e","updated":"2023-08-09 02:48:04.000000000","message":"Hi, Bo, Do not +w directly, you need another core +2 first.","commit_id":"2a7da20c83e583066f978c424844b9683c062f47"},{"author":{"_account_id":26285,"name":"wu.chunyang","email":"wchy1001@gmail.com","username":"wu.chunyang"},"change_message_id":"8c629936384e36fc4d7213503165d3bcbb8de94a","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":6,"id":"d0cc71d4_691acc05","updated":"2023-08-09 04:01:23.000000000","message":"give me some time, i will try to figure it out.","commit_id":"2a7da20c83e583066f978c424844b9683c062f47"},{"author":{"_account_id":28691,"name":"Bo Tran","email":"ministry.96.nd@gmail.com","username":"ministry"},"change_message_id":"c17dcb351a880dbec9d8b469bbac07cf13f7059b","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":6,"id":"0d51c572_23080053","in_reply_to":"5ffcd1df_ac3a177e","updated":"2023-08-09 06:46:29.000000000","message":"Oh. ok. I understand.","commit_id":"2a7da20c83e583066f978c424844b9683c062f47"},{"author":{"_account_id":26285,"name":"wu.chunyang","email":"wchy1001@gmail.com","username":"wu.chunyang"},"change_message_id":"fb0e58616e0408854d275cf287a4512080de4ba7","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":6,"id":"a90ddff7_928a0c9a","in_reply_to":"add4356f_4eafc23a","updated":"2023-08-09 06:54:32.000000000","message":"I am reproducing it in my env now, need some time to figure it out.","commit_id":"2a7da20c83e583066f978c424844b9683c062f47"},{"author":{"_account_id":28691,"name":"Bo Tran","email":"ministry.96.nd@gmail.com","username":"ministry"},"change_message_id":"c17dcb351a880dbec9d8b469bbac07cf13f7059b","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":6,"id":"add4356f_4eafc23a","in_reply_to":"d0cc71d4_691acc05","updated":"2023-08-09 06:46:29.000000000","message":"I think the command `pg_basebackup` have unknown issue. In my env, this command with the option `--no-manifest` help me resolved about problem when restore backup with tar. But, it can\u0027t pass ci.","commit_id":"2a7da20c83e583066f978c424844b9683c062f47"},{"author":{"_account_id":26285,"name":"wu.chunyang","email":"wchy1001@gmail.com","username":"wu.chunyang"},"change_message_id":"d9f9a08c81b101cd2585691bd7ab882b503fcada","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":7,"id":"22f90fbb_a01d42c6","updated":"2023-08-14 02:56:18.000000000","message":"Hi, Bo, thanks for you great patch, it passed in my environment. but we may need to  improve the debug message, and add a release note. thanks.","commit_id":"9e9acf58122df1e33d42d6d1a7fe914df225cadb"},{"author":{"_account_id":26285,"name":"wu.chunyang","email":"wchy1001@gmail.com","username":"wu.chunyang"},"change_message_id":"94c5ed6d6c487dfdbd7b75c83c96cec3ef823280","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":7,"id":"aeb8cd52_49c800ee","updated":"2023-08-09 08:39:37.000000000","message":"I tested it in my env, Creating pgsql backup from a backup node still be failed. could your test this patch in both backup and primay nodes?\n\nin the CI, we create a instance and do backup for it, then restore the instance. you may need to test this scenario locally?","commit_id":"9e9acf58122df1e33d42d6d1a7fe914df225cadb"},{"author":{"_account_id":26285,"name":"wu.chunyang","email":"wchy1001@gmail.com","username":"wu.chunyang"},"change_message_id":"c062e825ecc8dd2d5bfbc1f422256b210e23de04","unresolved":true,"context_lines":[],"source_content_type":"","patch_set":7,"id":"16a3e3ee_6ba15158","in_reply_to":"20426a73_4bc60238","updated":"2023-08-11 12:56:17.000000000","message":"ok, i\u0027ll test again","commit_id":"9e9acf58122df1e33d42d6d1a7fe914df225cadb"},{"author":{"_account_id":28691,"name":"Bo Tran","email":"ministry.96.nd@gmail.com","username":"ministry"},"change_message_id":"5601053eacd95a36cfd33cfa214042268525c02e","unresolved":true,"context_lines":[],"source_content_type":"","patch_set":7,"id":"20426a73_4bc60238","in_reply_to":"a04f3832_38f307a9","updated":"2023-08-11 09:00:32.000000000","message":"I was run many times in my environments. I had worked right.\nI can do backup in primary/ secondary node of postgresql.\n\nThis problem in CI seem don\u0027t have any *.backup files. I don\u0027t know why. You can run this patch in your env.","commit_id":"9e9acf58122df1e33d42d6d1a7fe914df225cadb"},{"author":{"_account_id":28691,"name":"Bo Tran","email":"ministry.96.nd@gmail.com","username":"ministry"},"change_message_id":"33703174b59cdb571434b6fdff55dcb6eee1c5bb","unresolved":true,"context_lines":[],"source_content_type":"","patch_set":7,"id":"a04f3832_38f307a9","in_reply_to":"aeb8cd52_49c800ee","updated":"2023-08-11 07:14:48.000000000","message":"ok. let me see","commit_id":"9e9acf58122df1e33d42d6d1a7fe914df225cadb"},{"author":{"_account_id":26285,"name":"wu.chunyang","email":"wchy1001@gmail.com","username":"wu.chunyang"},"change_message_id":"a5619aa220e3ed0b325a3a26d191e32e3bce841b","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":9,"id":"7cbb90e8_d0833764","updated":"2023-08-30 09:44:00.000000000","message":"Hi，with no-mainfest enabled, CI starts failed, more info: https://zuul.opendev.org/t/openstack/build/790442e0e34f4c0b8dcec5ebbb808fa3/log/controller/logs/guest-agent-logs/26a0e0d7-eeab-405c-9bd7-b630b23d620b/containers/0df7dbd55d7949dabf06d03ac59dea1454eaf148b6a8e10ffac9dd40c1865216/0df7dbd55d7949dabf06d03ac59dea1454eaf148b6a8e10ffac9dd40c1865216-json_log.txt","commit_id":"476c6a94500da69f9a47b985b006f86e4a8d2a57"}],"backup/drivers/postgres.py":[{"author":{"_account_id":26285,"name":"wu.chunyang","email":"wchy1001@gmail.com","username":"wu.chunyang"},"change_message_id":"d9f9a08c81b101cd2585691bd7ab882b503fcada","unresolved":true,"context_lines":[{"line_number":151,"context_line":"        def _metadata_found():"},{"line_number":152,"context_line":"            backup_file \u003d self.get_backup_file()"},{"line_number":153,"context_line":"            LOG.info(\"backup_file: %s\" % [backup_file])"},{"line_number":154,"context_line":"            LOG.info(\"self.is_read_only: %s\" % [self.is_read_only])"},{"line_number":155,"context_line":"            if not backup_file and self.is_read_only:"},{"line_number":156,"context_line":"                return True"},{"line_number":157,"context_line":""}],"source_content_type":"text/x-python","patch_set":7,"id":"2986fda4_65cea072","line":154,"updated":"2023-08-14 02:56:18.000000000","message":"improve these debug log?  and add a release note. thanks.","commit_id":"9e9acf58122df1e33d42d6d1a7fe914df225cadb"},{"author":{"_account_id":28691,"name":"Bo Tran","email":"ministry.96.nd@gmail.com","username":"ministry"},"change_message_id":"3b44b34a3349dc592a85543a0cc9b26291835a7c","unresolved":true,"context_lines":[{"line_number":151,"context_line":"        def _metadata_found():"},{"line_number":152,"context_line":"            backup_file \u003d self.get_backup_file()"},{"line_number":153,"context_line":"            LOG.info(\"backup_file: %s\" % [backup_file])"},{"line_number":154,"context_line":"            LOG.info(\"self.is_read_only: %s\" % [self.is_read_only])"},{"line_number":155,"context_line":"            if not backup_file and self.is_read_only:"},{"line_number":156,"context_line":"                return True"},{"line_number":157,"context_line":""}],"source_content_type":"text/x-python","patch_set":7,"id":"34386d9e_72217c55","line":154,"in_reply_to":"2986fda4_65cea072","updated":"2023-08-14 03:01:46.000000000","message":"ok. I add this temp log to debug in CI. I don\u0027t know this bug in CI.\nHave you test with option --no-manifest when do restore backup?","commit_id":"9e9acf58122df1e33d42d6d1a7fe914df225cadb"},{"author":{"_account_id":26285,"name":"wu.chunyang","email":"wchy1001@gmail.com","username":"wu.chunyang"},"change_message_id":"7a7f45acc71237f917201383336cd6c9ff873e9c","unresolved":true,"context_lines":[{"line_number":151,"context_line":"        def _metadata_found():"},{"line_number":152,"context_line":"            backup_file \u003d self.get_backup_file()"},{"line_number":153,"context_line":"            LOG.info(\"backup_file: %s\" % [backup_file])"},{"line_number":154,"context_line":"            LOG.info(\"self.is_read_only: %s\" % [self.is_read_only])"},{"line_number":155,"context_line":"            if not backup_file and self.is_read_only:"},{"line_number":156,"context_line":"                return True"},{"line_number":157,"context_line":""}],"source_content_type":"text/x-python","patch_set":7,"id":"6a20e818_253d7500","line":154,"in_reply_to":"2b064895_842323bd","updated":"2023-08-14 06:32:13.000000000","message":"Hi,I can\u0027t find the log: \"tar: A lone zero....\" message in db_restore container, but i found \n\"cp: cannot stat \u0027/var/lib/postgresql/data/wal_archive/000000010000000000000016\u0027: No such file or directory\ncp: cannot stat \u0027/var/lib/postgresql/data/wal_archive/00000002.history\u0027: No such file or directory\"\nin the database container, Is it right?","commit_id":"9e9acf58122df1e33d42d6d1a7fe914df225cadb"},{"author":{"_account_id":26285,"name":"wu.chunyang","email":"wchy1001@gmail.com","username":"wu.chunyang"},"change_message_id":"e08fc2869afdc0f04231bb49b5318575795203e7","unresolved":true,"context_lines":[{"line_number":151,"context_line":"        def _metadata_found():"},{"line_number":152,"context_line":"            backup_file \u003d self.get_backup_file()"},{"line_number":153,"context_line":"            LOG.info(\"backup_file: %s\" % [backup_file])"},{"line_number":154,"context_line":"            LOG.info(\"self.is_read_only: %s\" % [self.is_read_only])"},{"line_number":155,"context_line":"            if not backup_file and self.is_read_only:"},{"line_number":156,"context_line":"                return True"},{"line_number":157,"context_line":""}],"source_content_type":"text/x-python","patch_set":7,"id":"b8aa7149_11cc76ac","line":154,"in_reply_to":"34386d9e_72217c55","updated":"2023-08-14 03:09:08.000000000","message":"No, i didn\u0027t add --no-manifest. Is there any error message your there?","commit_id":"9e9acf58122df1e33d42d6d1a7fe914df225cadb"},{"author":{"_account_id":26285,"name":"wu.chunyang","email":"wchy1001@gmail.com","username":"wu.chunyang"},"change_message_id":"2923026616dbd0bc15ebc5ed581561163076857d","unresolved":true,"context_lines":[{"line_number":151,"context_line":"        def _metadata_found():"},{"line_number":152,"context_line":"            backup_file \u003d self.get_backup_file()"},{"line_number":153,"context_line":"            LOG.info(\"backup_file: %s\" % [backup_file])"},{"line_number":154,"context_line":"            LOG.info(\"self.is_read_only: %s\" % [self.is_read_only])"},{"line_number":155,"context_line":"            if not backup_file and self.is_read_only:"},{"line_number":156,"context_line":"                return True"},{"line_number":157,"context_line":""}],"source_content_type":"text/x-python","patch_set":7,"id":"47ffe22b_a41a687b","line":154,"in_reply_to":"3df4dbf3_bf6aea00","updated":"2023-08-15 05:55:41.000000000","message":"Hi, Let\u0027s move the discussion to the storyboard. please see my comment.","commit_id":"9e9acf58122df1e33d42d6d1a7fe914df225cadb"},{"author":{"_account_id":26285,"name":"wu.chunyang","email":"wchy1001@gmail.com","username":"wu.chunyang"},"change_message_id":"34a416ee3f1e26d7ab0364989e907253ace89b54","unresolved":true,"context_lines":[{"line_number":151,"context_line":"        def _metadata_found():"},{"line_number":152,"context_line":"            backup_file \u003d self.get_backup_file()"},{"line_number":153,"context_line":"            LOG.info(\"backup_file: %s\" % [backup_file])"},{"line_number":154,"context_line":"            LOG.info(\"self.is_read_only: %s\" % [self.is_read_only])"},{"line_number":155,"context_line":"            if not backup_file and self.is_read_only:"},{"line_number":156,"context_line":"                return True"},{"line_number":157,"context_line":""}],"source_content_type":"text/x-python","patch_set":7,"id":"59ed0bc8_df9d01d1","line":154,"in_reply_to":"47ffe22b_a41a687b","updated":"2023-08-29 09:05:29.000000000","message":"Hi, Bo, sorry for my late response. I would like to merge this patch, after you make this debug log more formal.","commit_id":"9e9acf58122df1e33d42d6d1a7fe914df225cadb"},{"author":{"_account_id":28691,"name":"Bo Tran","email":"ministry.96.nd@gmail.com","username":"ministry"},"change_message_id":"ef190c21a88be2d4b60ad1285297fb166c10901b","unresolved":true,"context_lines":[{"line_number":151,"context_line":"        def _metadata_found():"},{"line_number":152,"context_line":"            backup_file \u003d self.get_backup_file()"},{"line_number":153,"context_line":"            LOG.info(\"backup_file: %s\" % [backup_file])"},{"line_number":154,"context_line":"            LOG.info(\"self.is_read_only: %s\" % [self.is_read_only])"},{"line_number":155,"context_line":"            if not backup_file and self.is_read_only:"},{"line_number":156,"context_line":"                return True"},{"line_number":157,"context_line":""}],"source_content_type":"text/x-python","patch_set":7,"id":"3df4dbf3_bf6aea00","line":154,"in_reply_to":"4d665dba_85d69f43","updated":"2023-08-14 06:55:09.000000000","message":"Hmm. Can you do download this backup file and de-compress it? As my environment, I running postgres 13.10/ 14.6 \u0026 15.2 always met above log \"tar: A lone ...\" when do restore backup because in backup files have a manifest.tar being compress in backup_name.tar.gz.","commit_id":"9e9acf58122df1e33d42d6d1a7fe914df225cadb"},{"author":{"_account_id":26285,"name":"wu.chunyang","email":"wchy1001@gmail.com","username":"wu.chunyang"},"change_message_id":"d67704ee9f205351f330de78241276864ada0d42","unresolved":true,"context_lines":[{"line_number":151,"context_line":"        def _metadata_found():"},{"line_number":152,"context_line":"            backup_file \u003d self.get_backup_file()"},{"line_number":153,"context_line":"            LOG.info(\"backup_file: %s\" % [backup_file])"},{"line_number":154,"context_line":"            LOG.info(\"self.is_read_only: %s\" % [self.is_read_only])"},{"line_number":155,"context_line":"            if not backup_file and self.is_read_only:"},{"line_number":156,"context_line":"                return True"},{"line_number":157,"context_line":""}],"source_content_type":"text/x-python","patch_set":7,"id":"2b064895_842323bd","line":154,"in_reply_to":"4d975236_c4cc5910","updated":"2023-08-14 03:52:37.000000000","message":"I will try to reproduce it today.","commit_id":"9e9acf58122df1e33d42d6d1a7fe914df225cadb"},{"author":{"_account_id":26285,"name":"wu.chunyang","email":"wchy1001@gmail.com","username":"wu.chunyang"},"change_message_id":"4b0cee5cebf814b63808180b594e27e0faae7605","unresolved":true,"context_lines":[{"line_number":151,"context_line":"        def _metadata_found():"},{"line_number":152,"context_line":"            backup_file \u003d self.get_backup_file()"},{"line_number":153,"context_line":"            LOG.info(\"backup_file: %s\" % [backup_file])"},{"line_number":154,"context_line":"            LOG.info(\"self.is_read_only: %s\" % [self.is_read_only])"},{"line_number":155,"context_line":"            if not backup_file and self.is_read_only:"},{"line_number":156,"context_line":"                return True"},{"line_number":157,"context_line":""}],"source_content_type":"text/x-python","patch_set":7,"id":"4d665dba_85d69f43","line":154,"in_reply_to":"5e8510d7_1cb93e92","updated":"2023-08-14 06:44:43.000000000","message":"here is my db_resotore log:\n\n```\nroot@postgresql-resotre:~# docker logs db_restore\n2023-08-14 06:02:09.994 8 INFO __main__ [-] Starting restore database from swift, location: http://172.16.87.174:8080/v1/AUTH_c3002dfb1c11458993cca62fd9784d5a/my-trove-backups/e2cc1870-342a-49b1-bd6d-aebcb73eff95.tar.gz\n2023-08-14 06:02:10.060 8 INFO backup.drivers.base [-] Running restore from stream, command: tar xzf - -C /var/lib/postgresql/data/pgdata\n2023-08-14 06:02:13.330 8 INFO __main__ [-] Restore successfully, restore_size: 3031778\n```","commit_id":"9e9acf58122df1e33d42d6d1a7fe914df225cadb"},{"author":{"_account_id":28691,"name":"Bo Tran","email":"ministry.96.nd@gmail.com","username":"ministry"},"change_message_id":"fb9e35d403ccccd480231386a75ad1c30d7f3fad","unresolved":true,"context_lines":[{"line_number":151,"context_line":"        def _metadata_found():"},{"line_number":152,"context_line":"            backup_file \u003d self.get_backup_file()"},{"line_number":153,"context_line":"            LOG.info(\"backup_file: %s\" % [backup_file])"},{"line_number":154,"context_line":"            LOG.info(\"self.is_read_only: %s\" % [self.is_read_only])"},{"line_number":155,"context_line":"            if not backup_file and self.is_read_only:"},{"line_number":156,"context_line":"                return True"},{"line_number":157,"context_line":""}],"source_content_type":"text/x-python","patch_set":7,"id":"5e8510d7_1cb93e92","line":154,"in_reply_to":"6a20e818_253d7500","updated":"2023-08-14 06:36:04.000000000","message":"oh. this log \"tar: A lone zero ...\" will be find in container db_restore.\nyour log seem isn\u0027t have the file ..016 in primary. but, it\u0027s ok.","commit_id":"9e9acf58122df1e33d42d6d1a7fe914df225cadb"},{"author":{"_account_id":28691,"name":"Bo Tran","email":"ministry.96.nd@gmail.com","username":"ministry"},"change_message_id":"da8974bdb32f34b3a6b996c8d03c76bc359868c6","unresolved":true,"context_lines":[{"line_number":151,"context_line":"        def _metadata_found():"},{"line_number":152,"context_line":"            backup_file \u003d self.get_backup_file()"},{"line_number":153,"context_line":"            LOG.info(\"backup_file: %s\" % [backup_file])"},{"line_number":154,"context_line":"            LOG.info(\"self.is_read_only: %s\" % [self.is_read_only])"},{"line_number":155,"context_line":"            if not backup_file and self.is_read_only:"},{"line_number":156,"context_line":"                return True"},{"line_number":157,"context_line":""}],"source_content_type":"text/x-python","patch_set":7,"id":"4d975236_c4cc5910","line":154,"in_reply_to":"b8aa7149_11cc76ac","updated":"2023-08-14 03:11:42.000000000","message":"with current backup command, when we do restore the backup, we will get message: \"tar: A lone zero block at xxxx\".\nif we backup with the option `--no-manifest`, the above message will not being emit.","commit_id":"9e9acf58122df1e33d42d6d1a7fe914df225cadb"}]}
