pg_basebackup failing on .DS_Store files
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- macos, postgresql
- Lĩnh vực
- databases, operating-systems
Hướng nghiên cứu
Start by reproducing pg_basebackup with a .DS_Store file in a PostgreSQL data directory, then inspect how the backup process handles unexpected files. The issue is done when backups complete successfully without treating .DS_Store as PostgreSQL data; no repository file or test is identified in the report.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Hi, spent a bunch of time pulling my hair out because pg_basebackup was failing at random places when trying to qualify replication with this app, it wasn't until I tried some other things (like creating a tar file with -Ft option) that it showed me what was happening.
pg_basebackup: error: backup failed: ERROR: invalid segment number 0 in file ".DS_Store"
It looks like it pg_basebackup might need to filter against these files because it seems to be blindly assuming any/all files in certain directories are pg data.
After manually deleting the .DS_Store files: find ~/Library/Application\ Support/Postgres/ -iname .DS_Store -exec rm {} \;
and then making sure to NOT open those directories with finder again it seems to work as expected.
- Ngôn ngữ chính
- Makefile
- Star
- 7.8k
- Fork
- 404
- Merge trung bình
- 6 giờ 55 phút
- Pull request đã merge (30 ngày)
- 6
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của PostgresApp/PostgresApp
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
PostgresApp/PostgresApp#859 ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
PostgresApp/PostgresApp#844 · 7 bình luận · 1 reaction ·
-
Postgres.app 3.0 Đang mở
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
PostgresApp/PostgresApp#842 · 1 bình luận · 7 reaction ·
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
PostgresApp/PostgresApp#834 ·
-
Apple Script Support Đang mở
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
PostgresApp/PostgresApp#833 ·
Tất cả issue của PostgresApp/PostgresApp
Issue tương tự
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 75/100
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
AstrBotDevs/AstrBot#10205 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
OHDSI/Data2Evidence#3394 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100