Skip to content

When remote poller is in offline mode, data is written to more tables than necessary #4227

@bmfmancini

Description

@bmfmancini

Hey Everyone

While testing 1.2.17 off the 1.2.x branch from this morning I have found the following

when a poller is in offline mode it is supposed to write the values locally to poller_output_boost which is a innodb table
instead the poller is writting to both poller_output ( memory table) and poller_output_boost( Innodb table)
in this case the poller_output table can grown large enough to exhaust the memory of the system rather than consume the disk

Database changed
MariaDB [cacti]> select count(*),time from poller_output_boost;
+----------+---------------------+
| count(*) | time                |
+----------+---------------------+
|    17950 | 2021-04-12 12:29:01 |
+----------+---------------------+
1 row in set (0.010 sec)

MariaDB [cacti]> select count(*),time from poller_output;
+----------+---------------------+
| count(*) | time                |
+----------+---------------------+
|    17950 | 2021-04-12 12:29:01 |
+----------+---------------------+
1 row in set (0.027 sec)

MariaDB [cacti]>

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugUndesired behaviourresolvedA fixed issue

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions