pg_stat_monitor/regression/expected
Hamid Akhtar b920224e0f
Merging the 1.1.0 branch back to main branch (#303)
* PG-475: Inconsistent behaviour of PGSM

Reverting the bucket locking mechanism to previous behavior. This has
a lot of room for improvement that needs to be part of a major refactoring
in the 2.x release.

* PG-481 Release notes 1.1.0 (#294)

modified:   RELEASE_NOTES.md

* PG-500: Bump the version of pg_stat_monitor to 1.1.0 (#297)

* PG-501: Missing Buckets and incorrect calls count. (#298)

prev_bucket_sec holds the actual time at which the previous bucket was created
and it is used to compute if the previous bucket time has elapsed and when is
the time to create a new one. But since the bucket start time is rounded down
to logical time window start, that makes the prev_bucket_sec and bucket start
time out of sync with each other, and depending on the query arrival time there
is a high probability that a bucket gets missed especially when the last bucket
was created around the end of the bucket time window.

Solution is to keep the prev_bucket_sec and bucket start time in-sync.

Moreover, we are using the unint64 for storing the prev_bucket_sec which is kind
of an overkill and a simple uint should be good enough for the purpose. But that
change can be taken up as part of the create-bucket function refactoring task.

* PG-501: Missing Buckets and incorrect calls count.

Ensuring the outer bound for the bucket is an exclusive boundary and it
as it belongs to the next bucket. To explain the point further, a set of
five second bucket would be:
    Bucket 1: 00:00:00.00 -> 00:00:04.99...
    Bucket 2: 00:00:00.05 -> 00:00:09.99...
    Bucket 3: 00:00:00.10 -> 00:00:14.99...
    ...

Co-authored-by: Ibrar Ahmed <ibrar.ahmed@percona.com>
Co-authored-by: Anastasia Alexandrova <anastasia.alexandrova@percona.com>
Co-authored-by: Muhammad Usama <m.usama@gmail.com>
2022-09-13 15:59:39 +05:00
..
application_name.out PG-362: pgsm_normalized_query needs to be 0 by default. (#253) 2022-06-09 16:13:58 +05:00
application_name_unique.out PG-362: pgsm_normalized_query needs to be 0 by default. (#253) 2022-06-09 16:13:58 +05:00
basic.out PG-362: pgsm_normalized_query needs to be 0 by default. (#253) 2022-06-09 16:13:58 +05:00
basic_1.out PG-183. Move tests to separate directory 2021-02-20 23:17:34 +03:00
cmd_type.out PG-362: pgsm_normalized_query needs to be 0 by default. (#253) 2022-06-09 16:13:58 +05:00
counters.out PG-343: Enable TAP testing; PG-292: Automate the QA; PG-338: Calls count.; PG-331: Default values in PMM. 2022-03-22 01:36:47 +05:00
database.out PG-286: Update regression tests. 2022-02-17 19:48:32 +05:00
error.out PG-362: pgsm_normalized_query needs to be 0 by default. (#253) 2022-06-09 16:13:58 +05:00
error_1.out PG-451: Fix regression failures in main branch. 2022-07-03 04:26:42 +05:00
error_insert.out PG-362: pgsm_normalized_query needs to be 0 by default. (#253) 2022-06-09 16:13:58 +05:00
error_insert_1.out PG-451: Fix regression failures in main branch. 2022-07-03 04:26:42 +05:00
guc.out PG-362: pgsm_normalized_query needs to be 0 by default. (#253) 2022-06-09 16:13:58 +05:00
guc_1.out PG-451: Fix regression failures in main branch. 2022-07-03 04:26:42 +05:00
histogram.out [PG-436] Merging REL_1_STABLE on to the main branch. 2022-06-19 13:42:10 +05:00
histogram_1.out PG-362: pgsm_normalized_query needs to be 0 by default. (#253) 2022-06-09 16:13:58 +05:00
histogram_2.out PG-451: Fix regression failures in main branch. 2022-07-03 04:26:42 +05:00
pg_stat_monitor_1.out PG-183. Move tests to separate directory 2021-02-20 23:17:34 +03:00
relations.out PG-286: Update regression tests. 2022-02-17 19:48:32 +05:00
rows.out PG-362: pgsm_normalized_query needs to be 0 by default. (#253) 2022-06-09 16:13:58 +05:00
rows_1.out PG-286: Update regression tests. 2022-02-17 19:48:32 +05:00
state.out PG-286: Update regression tests. 2022-02-17 19:48:32 +05:00
tags.out PG-451: Fix regression failures in main branch. 2022-07-03 04:26:42 +05:00
top_query.out PG-362: pgsm_normalized_query needs to be 0 by default. (#253) 2022-06-09 16:13:58 +05:00
top_query_1.out PG-451: Fix regression failures in main branch. 2022-07-03 04:26:42 +05:00
user.out PG-186: Add support to monitor query execution plan. 2021-03-17 18:56:39 +05:00
version.out Merging the 1.1.0 branch back to main branch (#303) 2022-09-13 15:59:39 +05:00