https://issues.rudder.io/https://issues.rudder.io/themes/rudder7/favicon/favicon.ico?17096450182016-12-21T14:47:40ZIssue TrackerRudder - Bug #9835: When we receive reports from node with old reports, caches are not used for compliance computationhttps://issues.rudder.io/issues/9835?journal_id=685212016-12-21T14:47:40ZNicolas CHARLESnicolas.charles@rudder.io
<ul></ul><p>The expirationTime should not be computed as this - it should either be "now + x minutes", or we should have a new field completely for cache<br />Note that when we receive new reports, the cache is updated by achedCompliance.invalidate (but the expirationTime is still in the past)</p>
<p>Francois, i'll need your input on this one, to validate that my diagnosis is correct, and suggested solution also</p> Rudder - Bug #9835: When we receive reports from node with old reports, caches are not used for compliance computationhttps://issues.rudder.io/issues/9835?journal_id=686632016-12-29T17:11:56ZNicolas CHARLESnicolas.charles@rudder.io
<ul></ul><p>Ok, this is more complex than that:<br />I tried to replace expirationTime by val expirationTime = t.plus(updateValidityDuration)<br />but in this case, for the cache, I have expirationTime is "Some(2016-12-29T17:26:21.961+01:00,2016-12-29T18:16:21.000+01:00)" when a run with wrong report is received at 2016-12-29T18:11:21.000+01:00</p>
<p>First one is the expected one, second is the current one - but I don't know why we get both</p> Rudder - Bug #9835: When we receive reports from node with old reports, caches are not used for compliance computationhttps://issues.rudder.io/issues/9835?journal_id=688962017-01-09T15:53:57ZNicolas CHARLESnicolas.charles@rudder.io
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>In progress</i></li><li><strong>Assignee</strong> set to <i>Nicolas CHARLES</i></li></ul> Rudder - Bug #9835: When we receive reports from node with old reports, caches are not used for compliance computationhttps://issues.rudder.io/issues/9835?journal_id=689012017-01-09T16:29:21ZNicolas CHARLESnicolas.charles@rudder.io
<ul><li><strong>Status</strong> changed from <i>In progress</i> to <i>Pending technical review</i></li><li><strong>Assignee</strong> changed from <i>Nicolas CHARLES</i> to <i>François ARMAND</i></li><li><strong>Pull Request</strong> set to <i>https://github.com/Normation/rudder/pull/1429</i></li></ul><p>PR <a class="external" href="https://github.com/Normation/rudder/pull/1429">https://github.com/Normation/rudder/pull/1429</a></p> Rudder - Bug #9835: When we receive reports from node with old reports, caches are not used for compliance computationhttps://issues.rudder.io/issues/9835?journal_id=689032017-01-09T16:40:19ZNicolas CHARLESnicolas.charles@rudder.io
<ul><li><strong>Status</strong> changed from <i>Pending technical review</i> to <i>Pending release</i></li><li><strong>% Done</strong> changed from <i>0</i> to <i>100</i></li></ul><p>Applied in changeset <a class="changeset" title="Fixes #9835: When we receive reports from node with old reports, caches are not used for complian..." href="https://issues.rudder.io/projects/rudder/repository/rudder/revisions/e3b70b4a920185643fd51d8668289561dff19734">rudder|e3b70b4a920185643fd51d8668289561dff19734</a>.</p> Rudder - Bug #9835: When we receive reports from node with old reports, caches are not used for compliance computationhttps://issues.rudder.io/issues/9835?journal_id=714112017-02-20T15:26:01ZVincent MEMBRÉvme@rudder.io
<ul><li><strong>Status</strong> changed from <i>Pending release</i> to <i>Released</i></li></ul><p>This bug has been fixed in Rudder 3.1.18, 3.2.11, 4.0.3 and 4.1.0~beta3 which were released today.</p>
<ul>
<li>3.1.18: <a href="http://www.rudder-project.org/pipermail/rudder-announce/2017-February/thread.html000222.html" class="external">Announce</a> <a href="http://www.rudder-project.org/changelog-3.1" class="external">Changelog</a></li>
<li>3.2.11: <a href="http://www.rudder-project.org/pipermail/rudder-announce/2017-February/thread.html000221.html" class="external">Announce</a> <a href="http://www.rudder-project.org/changelog-3.2" class="external">Changelog</a></li>
<li>4.0.3: <a href="http://www.rudder-project.org/pipermail/rudder-announce/2017-February/thread.html000220.html" class="external">Announce</a> <a href="http://www.rudder-project.org/changelog-4.0" class="external">Changelog</a></li>
<li>4.1.0~beta3: <a href="http://www.rudder-project.org/pipermail/rudder-announce/2017-February/thread.html000219.html" class="external">Announce</a> <a href="http://www.rudder-project.org/changelog-4.1" class="external">Changelog</a></li>
<li>Download: <a class="external" href="https://www.rudder-project.org/site/get-rudder/downloads/">https://www.rudder-project.org/site/get-rudder/downloads/</a></li>
</ul>