PersistEventWorker: duplicated event

Solution Verified - Updated -

Issue

  • system-sidekiq logged this message. Is this a message I can ignore?

    2021-11-01T00:00:00.519088243Z 2021-11-01T00:00:00.518Z 1 TID-1px2yl PersistEventWorker JID-aaaaaaaaaaaaaaaaaaaaaaaa INFO:
    2021-11-01T00:00:00.522217514Z 2021-11-01T00:00:00.522Z 1 TID-1pttxt PersistEventWorker JID-bbbbbbbbbbbbbbbbbbbbbbbb INFO: start
    2021-11-01T00:00:00.541904991Z PersistEventWorker: duplicated event {"id"=>1, "type"=>"first_traffic", "timestamp"=>"2021-11-16 06:50:10 UTC", "object"=>{"service_id"=>"3", "application_id"=>"xxxxxxxx", "timestamp"=>"2021-11-16 06:50:10 UTC"}}, Mysql2::Error: Duplicate entry '1' for key 'index_backend_events_on_id': INSERT INTO `backend_events` (`id`, `data`, `created_at`, `updated_at`) VALUES (1, '---\nid: 1\ntype: first_traffic\ntimestamp: 2021-11-16 06:50:10 UTC\nobject:\n  service_id: \'3\'\n  application_id: xxxxxxxx\n  timestamp: 2021-11-16 06:50:10 UTC\n', '2021-11-16 06:50:10', '2021-11-16 06:50:10')
    2021-11-01T00:00:00.544208898Z 2021-11-01T00:00:00.544Z 1 TID-1px2yl PersistEventWorker JID-aaaaaaaaaaaaaaaaaaaaaaaa INFO: done: 0.025 sec
    2021-11-01T00:00:00.544859752Z PersistEventWorker: duplicated event {"id"=>2, "type"=>"first_daily_traffic", "timestamp"=>"2021-11-16 06:50:10 UTC", "object"=>{"service_id"=>"3", "application_id"=>"xxxxxxxx", "timestamp"=>"2021-11-16 06:50:10 UTC"}}, Mysql2::Error: Duplicate entry '2' for key 'index_backend_events_on_id': INSERT INTO `backend_events` (`id`, `data`, `created_at`, `updated_at`) VALUES (2, '---\nid: 2\ntype: first_daily_traffic\ntimestamp: 2021-11-16 06:50:10 UTC\nobject:\n  service_id: \'3\'\n  application_id: xxxxxxxx\n  timestamp: 2021-11-16 06:50:10 UTC\n', '2021-11-16 06:50:10', '2021-11-16 06:50:10')
    2021-11-01T00:00:00.545225239Z 2021-11-01T00:00:00.545Z 1 TID-1pttxt PersistEventWorker JID-bbbbbbbbbbbbbbbbbbbbbbbb INFO: done: 0.023 sec
    

Environment

  • Red Hat 3scale API Management 2.9.0 On-Premises

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content