vrk-kpa / xroad-joint-development

Unmaintained repository. Development moved to: https://github.com/nordic-institute/X-Road-development
19 stars 8 forks source link

As a Security Server Administrator I want to the Security Server to log a warning when the amount of timestamped records approaches timestamp-records-limit #224

Closed JyrgenSuvalov closed 6 years ago

JyrgenSuvalov commented 6 years ago

Affected components: - messagelog Affected documentation: - N/A Estimated delivery: - External reference: -

Problem The current default for timestamp-records-limit is 10k. X-tee's production environment's timeStampingIntervalSeconds is currently 2880 seconds. This means that for some members with higher than average traffic, the messagelog database keeps growing as timestamping does not keep up with the traffic.

The security server is capable of handling a higher timestamp-records-limit value (some analysis required on reasonable limits). We propose at least logging a warning message when the amount of timestamped records reaches for example 70% of timestamp-records-limit with a suggestion to tweak timestamp-records-limit.

Acceptance criteria

JyrgenSuvalov commented 6 years ago

Transferred to X-Road Service Desk as an enhancement request.