Commit a107d2f
fix: pass uuid1() instead of video_id as activity_id for view events
video_id is a v4 UUID but user_activity.activity_id is a TimeUUID (v1)
column in Cassandra. Passing a v4 UUID caused INVALID_DATABASE_QUERY errors
on every video view. Fix by dropping the explicit activity_id argument so
record_user_activity auto-generates a uuid1() as intended.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 8b46986 commit a107d2f
3 files changed
Lines changed: 10 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
18 | 23 | | |
19 | 24 | | |
20 | 25 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
477 | 477 | | |
478 | 478 | | |
479 | 479 | | |
480 | | - | |
481 | 480 | | |
482 | 481 | | |
483 | 482 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
286 | 286 | | |
287 | 287 | | |
288 | 288 | | |
289 | | - | |
| 289 | + | |
| 290 | + | |
290 | 291 | | |
291 | 292 | | |
292 | 293 | | |
293 | | - | |
294 | 294 | | |
295 | 295 | | |
296 | 296 | | |
| |||
318 | 318 | | |
319 | 319 | | |
320 | 320 | | |
321 | | - | |
| 321 | + | |
| 322 | + | |
322 | 323 | | |
323 | 324 | | |
324 | 325 | | |
325 | | - | |
326 | 326 | | |
327 | 327 | | |
328 | 328 | | |
| |||
0 commit comments