Wowza Community

Mediacache API. Cmd flushAndForceItemFromCache destroy itemname

If I send as example every hour the api command flushAndForceItemFromCache for every Asset with foreach while from http://127.0.0.1:8087/v2/servers/defaultServer/vhosts/defaultVHost/mediacache/stores

As example with a filename: gcp/mc-11-bucket/archive/d840b4e5b58cf1e6d3ee832e15fe8d2c.mp4

curl -X PUT -H 'Accept:application/json; charset=utf-8' -H 'Content-Type:application/json; charset=utf-8' http://127.0.0.1:8087/v2/servers/_defaultServer_/vhosts/_defaultVHost_/mediacache/stores/actions/flushAndForceItemFromCache?filename=gcp/mc-11-bucket/archive/d840b4e5b58cf1e6d3ee832e15fe8d2c.mp4

The itemname will append random chars to my mp4 path:

{
  "serverName": "_defaultServer_",
  "mediacacheitemlist": [
{
  "itemname": "gcp/mc-11-bucket/archive/be89ed31931931c97464b5d8fd3178a7.mp4c5991d0b-1ec2-4397-b069-fb772cac27d7b2f7a262-e354-4c6d-b855-7b9378eddecd2ddc4ea6-ad81-4a9b-ac65-a3b980ec81477a47f784-4082-460c-9f7f-c542874cd51e32e550cc-5edf-4891-b840-5ce72c1d77a4d80762af-e2ab-4370-922a-8426cb3a63415433336a-4a1d-4275-9904-40a7c66d2481c67c01f0-c03c-472c-abc8-6bac4dd3eac1b4acf42b-0863-4197-90c0-035751c0376a9b4372fa-bda1-4488-9ed5-c52c68f055c6a0144f20-2418-4e39-876c-105b38d516800bc057a1-eaa4-43b7-aaeb-ea53449f8737",
  "itemlength": 2542224135,
  "itemmaxtimetolive": 30000,
  "itemmintimetolive": 10000,
  "itemlastrelease": 1722883693920,
  "itemsourcename": "gcp"
},
{
  "itemname": "gcp/mc-11-bucket/archive/f903f58544bf476488e76d455420a4a7.mp4c458ff2f-ec68-42bf-aafd-fe852af4504ba8aa0fbb-9ecd-449f-b010-108ada31cf893ea0d56f-f110-4997-851f-db05cd29c7655b5fc8fb-7a19-411b-b514-96185eb6d1c4aeb96473-c8e1-42b3-9018-10c01d0bb395500b71ad-462d-4520-a06f-cb9de669fb1575a89381-74a8-485d-81f3-b6d58e90a88a28009373-1d8a-4c58-8b54-bec541557c69d416954e-f655-4ddc-8f9d-12eeb022bf0fe95b9832-3843-4d9b-b7b2-20f3f798a57c8eef8737-c932-47d6-b8fe-09aef8f57f1791e25f8e-2d48-4d3b-a990-9edd6d0b39f0",
  "itemlength": 1874749944,
  "itemmaxtimetolive": 30000,
  "itemmintimetolive": 10000,
  "itemlastrelease": 1722872906894,
  "itemsourcename": "gcp"
},
{
  "itemname": "gcp/mc-11-bucket/archive/9bc3012bcd225dcfaafdaa04608777d3.mp4",
  "itemlength": 8218260469,
  "itemmaxtimetolive": 2000,
  "itemmintimetolive": 1000,
  "itemlastrelease": 1722927648203,
  "itemsourcename": "gcp"
},
{
  "itemname": "gcp/mc-11-bucket/archive/d840b4e5b58cf1e6d3ee832e15fe8d2c.mp4c953d8fe-80a6-4b31-80d2-a3553f091449817fd891-1529-453e-a661-3b452d1e02dacc468916-c947-44e9-ac4f-b2ca44d4b30a628efd14-6f80-427d-98c4-f660960a3ee216092a3b-40e6-40b7-ae5f-28e004fb6482ba141ea5-cd4e-4d28-8bcf-2680c4279052f3b67f12-8fea-42ff-a078-7f936ee882cf012ed02e-72df-4dcd-a661-058b13052995e0efe78e-723d-4429-9c2f-ae3ed0857ce1e29a455a-8c71-470c-ac3e-25abf24446451bad6d1b-2a15-4b33-8ef0-9a5406f77d15aeb51f64-1538-48db-962b-2bbe1ef14d87",
  "itemlength": 3520542578,
  "itemmaxtimetolive": 30000,
  "itemmintimetolive": 10000,
  "itemlastrelease": 1722923797881,
  "itemsourcename": "gcp"
}, 

Looks the last result in above code with my example. The itemname is now corrupt. But it looks like not on all, see (gcp/mc-11-bucket/archive/9bc3012bcd225dcfaafdaa04608777d3.mp4). This looks fine. All other destroy the item name and can’t anymore remove from mediacache!

Urgent: Every time I call flushAndForceItemFromCache Wowza again and again append the random chars on the itemname. If I call it 20 times, then wowza append 20times the random chars.

After first call:
{
“success”: true,
“message”: “Forcing gcp/mc-11-bucket/archive/be89ed31931931c97464b5d8fd3178a7.mp4c5991d0b-1ec2-4397-b069-fb772cac27d7 to flush immediately”,
“data”: null
}

After second call:
{
“success”: true,
“message”: “Forcing gcp/mc-11-bucket/archive/be89ed31931931c97464b5d8fd3178a7.mp4c5991d0b-1ec2-4397-b069-fb772cac27d7b2f7a262-e354-4c6d-b855-7b9378eddecd to flush immediately”,
“data”: null
}

After third call:
{
“success”: true,
“message”: “Forcing gcp/mc-11-bucket/archive/be89ed31931931c97464b5d8fd3178a7.mp4c5991d0b-1ec2-4397-b069-fb772cac27d7b2f7a262-e354-4c6d-b855-7b9378eddecd2ddc4ea6-ad81-4a9b-ac65-a3b980ec8147 to flush immediately”,
“data”: null
}

And again, and again…