rfcx / rfcx-api

Core, Media/Assets and MQTT APIs
https://api.rfcx.org/docs/
Apache License 2.0
0 stars 0 forks source link

Check arbimon existing recordings in the reupload recordings logic #583

Open rassokhina-e opened 5 months ago

rassokhina-e commented 5 months ago

Describe the bug We have to recheck existing arbimon recordings if the user reupload the recording via the Uploader app, currently core logic just check the existing source file and segment and send the user positive status code if the recording already exist, without checking the legacy arbimon recording table.

From the latest partner issue, the core segments is 24503 and arbimon recordings are 21235, so the user cannot reupload missed recording again, because core side hasn't put missed recordings to the arbimon db

To Reproduce Steps to reproduce the behavior:

  1. Go to Uploader
  2. Click on upload recordings
  3. See mismatch error

Expected behavior The user can reupload recordings and see them on the arbimon side

Additional context

Untitled

arbimon total count of recordings

Untitled
rassokhina-e commented 5 months ago

related arbimon task https://github.com/rfcx/arbimon-legacy/issues/1472#issuecomment-2029348329

@koonchaya