Skip to content

Race condition when deleting site might result in "Failed to invalidate archived reports: An unexpected website was found in the request" #16204

@jbrule

Description

@jbrule

When archiving via cron we keep getting this message about website 115. It looks like it has been deleted and no longer exists in Matomo. Other various sites have been deleted but do not cause such an error. Any ideas?

INFO [2020-07-07 16:35:31] 47726  Archived website id = 3690, period = day, 0 segments, 133483 visits in last 52 days, 1979 visits today, Time elapsed: 5.569s
INFO [2020-07-07 16:35:31] 47726  - Will invalidate archived reports for 2020-03-10 for following websites ids: 115
INFO [2020-07-07 16:35:31] 47726  Failed to invalidate archived reports: An unexpected website was found in the request: website id was set to '115' .
INFO [2020-07-07 16:35:31] 47726  Will pre-process for website id = 3690, period = week, date = last2
INFO [2020-07-07 16:35:31] 47726  - pre-processing all visits
INFO [2020-07-07 16:35:32] 47726  Archived website id = 3690, period = week, 0 segments, 22694 visits in last 2 weeks, 5651 visits this week, Time elapsed: 1.659s
INFO [2020-07-07 16:35:33] 47726  - Will invalidate archived reports for 2020-03-10 for following websites ids: 115
INFO [2020-07-07 16:35:33] 47726  Failed to invalidate archived reports: An unexpected website was found in the request: website id was set to '115' .
INFO [2020-07-07 16:35:33] 47726  Will pre-process for website id = 3690, period = month, date = last2
INFO [2020-07-07 16:35:33] 47726  - pre-processing all visits
INFO [2020-07-07 16:35:35] 47726  Archived website id = 3690, period = month, 0 segments, 98786 visits in last 2 months, 15035 visits this month, Time elapsed: 2.462s
INFO [2020-07-07 16:35:35] 47726  - Will invalidate archived reports for 2020-03-10 for following websites ids: 115
INFO [2020-07-07 16:35:35] 47726  Failed to invalidate archived reports: An unexpected website was found in the request: website id was set to '115' .
INFO [2020-07-07 16:35:35] 47726  Will pre-process for website id = 3690, period = year, date = last2
INFO [2020-07-07 16:35:35] 47726  - pre-processing all visits
INFO [2020-07-07 16:35:37] 47726  Archived website id = 3690, period = year, 0 segments, 396869 visits in last 2 years, 396532 visits this year, Time elapsed: 2.620s
INFO [2020-07-07 16:35:38] 47726  - Will invalidate archived reports for 2020-03-10 for following websites ids: 115
INFO [2020-07-07 16:35:38] 47726  Failed to invalidate archived reports: An unexpected website was found in the request: website id was set to '115' .
INFO [2020-07-07 16:35:38] 47726  Will pre-process for website id = 3690, period = range, date = last6
INFO [2020-07-07 16:35:38] 47726  - pre-processing all visits
INFO [2020-07-07 16:35:39] 47726  Archived website id = 3690, period = range, 0 segments, 0 visits in last 30 ranges, 0 visits this range, Time elapsed: 1.606s
INFO [2020-07-07 16:35:39] 47726  - Will invalidate archived reports for 2020-03-10 for following websites ids: 115
INFO [2020-07-07 16:35:39] 47726  Failed to invalidate archived reports: An unexpected website was found in the request: website id was set to '115' .
INFO [2020-07-07 16:35:39] 47726  Will pre-process for website id = 3690, period = range, date = last7
INFO [2020-07-07 16:35:39] 47726  - pre-processing all visits
INFO [2020-07-07 16:35:40] 47726  Archived website id = 3690, period = range, 0 segments, 16966 visits in last 7 ranges, 16966 visits this range, Time elapsed: 0.980s
INFO [2020-07-07 16:35:40] 47726  Archived website id = 3690, 6 API requests, Time elapsed: 14.901s [1539/1546 done]

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugFor errors / faults / flaws / inconsistencies etc.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions