Bug in yearly archiving in very rare case #1949

Closed
mattab opened this Issue Jan 5, 2011 · 1 comment

1 participant

@mattab
Piwik Open Source Analytics member

There is one (to be identified) use case where the yearly archiving fails. See output of archiving:

# grep error archive_output -B4

--
</results>
Archiving period = year for idsite = 5...
<?xml version="1.0" encoding="utf-8" ?>
<result>
        <error message="You are requesting a precise subTable but there is not such data in the Archive." />
--
</results>
Archiving period = year for idsite = 6...
<?xml version="1.0" encoding="utf-8" ?>
<result>
        <error message="You are requesting a precise subTable but there is not such data in the Archive." />
--
</results>
Archiving period = year for idsite = 21...
<?xml version="1.0" encoding="utf-8" ?>
<result>
        <error message="You are requesting a precise subTable but there is not such data in the Archive." />
--
</results>
Archiving period = year for idsite = 32...
<?xml version="1.0" encoding="utf-8" ?>
<result>
        <error message="You are requesting a precise subTable but there is not such data in the Archive." />
--
</results>
Archiving period = year for idsite = 35...
<?xml version="1.0" encoding="utf-8" ?>
<result>
        <error message="You are requesting a precise subTable but there is not such data in the Archive." />
--
</results>
Archiving period = year for idsite = 36...
<?xml version="1.0" encoding="utf-8" ?>
<result>
        <error message="You are requesting a precise subTable but there is not such data in the Archive." />
--
</results>
Archiving period = year for idsite = 60...
<?xml version="1.0" encoding="utf-8" ?>
<result>
        <error message="You are requesting a precise subTable but there is not such data in the Archive." />
--
</results>
Archiving period = year for idsite = 61...
<?xml version="1.0" encoding="utf-8" ?>
<result>
        <error message="You are requesting a precise subTable but there is not such data in the Archive." />
--
</results>
Archiving period = year for idsite = 97...
<?xml version="1.0" encoding="utf-8" ?>
<result>
        <error message="You are requesting a precise subTable but there is not such data in the Archive." />

@mattab
Piwik Open Source Analytics member

(In [3752]) Fixes #1949 Not throwing the exception if the requested subtable not found, but returning empty datatable, I was unable to know in which cases it throws the error, but only saw it once with a 10G piwik log_* db...

@mattab mattab added this to the Piwik 1.2 milestone Jul 8, 2014
@mattab mattab self-assigned this Jul 8, 2014
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment