bangumi / bangumi/dev-env

Missing subjects in chii_subject_fields

Open
#46 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
39
Forks
12
PR merge metrics
No merged PRs in 30d

Description

部分 subject 在 chii_subjects 中存在,但 chii_subject_fields 里没有对应的数据,测试 /p1/wiki/subjects/{subjectID} 的时候会 500。
```
+------------+
| missing_id |
+------------+
| 265 |
| 4828 |
| 6049 |
| 11197 |
| 69253 |
| 116461 |
| 117777 |
| 220445 |
| 226750 |
| 261729 |
| 277554 |
| 298767 |
| 495 |
| 497 |
| 499 |
| 61178 |
+------------+
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the 500 response from /p1/wiki/subjects/{subjectID} for the listed IDs, then compare those records in chii_subjects and chii_subject_fields. Done means each listed subject has corresponding chii_subject_fields data and the endpoint no longer returns 500.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
api, backend, databases
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.