sustc icon indicating copy to clipboard operation
sustc copied to clipboard

[Database Service] The video data of small data

Open Cerulime opened this issue 2 years ago • 8 comments

Describe your question

The reviewer's mid of BV1Kb411L79v is 0, which is not exist in UserRecord. Should all reviewers are in UserRecord?

Cerulime avatar Dec 17 '23 09:12 Cerulime

@Cerulime I downloaded the latest small data and cannot find the record you described in the small dataset. The closest one has a proper reviewer. Have you download the latest data? image

sses7757 avatar Dec 17 '23 12:12 sses7757

@sses7757 SHA1: b4b7f8a06fb0a1db30a0ed1f33687e44ea730c99 That is the data I got.

@Cerulime I downloaded the latest small data and cannot find the record you described in the small dataset. The closest one has a proper reviewer. Have you download the latest data? image

Cerulime avatar Dec 17 '23 12:12 Cerulime

@Cerulime The downloaded data.zip has SHA1 of 6B6C7D86C315243DC139ACBC31A951C3A8A99921.

sses7757 avatar Dec 17 '23 12:12 sses7757

@Cerulime The downloaded data.zip has SHA1 of 6B6C7D86C315243DC139ACBC31A951C3A8A99921.

@sses7757 I refer to the videorecord.ser. Sorry.

Cerulime avatar Dec 17 '23 13:12 Cerulime

@Cerulime It is B4B7F8A06FB0A1DB30A0ED1F33687E44EA730C99, the same as yours. You can print the given VideoRecord with BV1Kb411L79v and see its reviewer mid. Mine is 271585 rather than 0.

sses7757 avatar Dec 17 '23 13:12 sses7757

@Cerulime It is B4B7F8A06FB0A1DB30A0ED1F33687E44EA730C99, the same as yours. You can print the given VideoRecord with BV1Kb411L79v and see its reviewer mid. Mine is 271585 rather than 0.

屏幕截图 2023-12-17 213427

I don't know what happened on the data.

Cerulime avatar Dec 17 '23 13:12 Cerulime

@Cerulime My output is empty, meaning that I cannot find any video record with reviewer mid of 0. Maybe your problem is caused by the fury deserialization? However, I am not in charge of that part. Maybe other collaborators like @hezean or @XiaoMingZHM can resolve this issue with some additional information you provide.

sses7757 avatar Dec 18 '23 00:12 sses7757

cannot reproduce the error (with java 17). @XiaoMingZHM what's the java version when you generating the .ser files? does fury rely on serialVersionUID?

https://github.com/hezean/sustc/blob/5dd4439540b7916c00704a5c5f093dd824cda9e5/sustc-api/src/main/java/io/sustc/dto/VideoRecord.java#L13

fyi: https://www.baeldung.com/java-serial-version-uid

hezean avatar Dec 18 '23 07:12 hezean