Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add option to skip log purging check when invalidating archives in the rare cases it is needed. #17538

Merged
merged 1 commit into from May 11, 2021

Conversation

diosmosis
Copy link
Member

Description:

For use in the GoogleAnalyticsImporter, if log purging is enabled, then we'll never be able to invalidate to dates before it. However, the importer can definitely import dates before it and uses archiving to fill up week, month and year periods. The flag would fix this.

Review

  • Functional review done
  • Potential edge cases thought about (behavior of the code with strange input, with strange internal state or possible interactions with other Matomo subsystems)
  • Usability review done (is anything maybe unclear or think about anything that would cause people to reach out to support)
  • Security review done see checklist
  • Code review done
  • Tests were added if useful/possible
  • Reviewed for breaking changes
  • Developer changelog updated if needed
  • Documentation added if needed
  • Existing documentation updated if needed

Comment on lines 300 to 302
print getmypid() . "\n";
print `ps x 2>/dev/null | awk '! /defunct/ {print $1}' 2>/dev/null` . "\n";

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did you add that on purpose?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, task switching w/ an L3 issue, will remove

@diosmosis diosmosis force-pushed the allow-invalidate-purged-dates-if-not-day-option branch from 4dab289 to 86a2674 Compare May 11, 2021 00:44
@diosmosis diosmosis merged commit ebd79e6 into 4.x-dev May 11, 2021
@diosmosis diosmosis deleted the allow-invalidate-purged-dates-if-not-day-option branch May 11, 2021 01:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs Review PRs that need a code review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants