Pt-Query-Digest. Request for a flag to enable/disable create database

Description

Good morning,

I can see in the source code of pt-query digest the db always try to be created.

https://github.com/percona/percona-toolkit/blob/3.x/bin/pt-query-digest#L14502

 

On a scenario where you have a Mariadb Galera cluster, this could drive into a certification problems if you execute the create database statement into several nodes at the same time.

 

It will be nice to have a flag where you can enable/disable this specific behaviour in case you don't want to create your database.

Environment

None

Activity

Aaditya Dubey September 4, 2023 at 3:58 PM

Hi ,

Thank you for the report and feedback.

Details

Assignee

Reporter

Priority

Components

Affects versions

Fix versions

Needs QA

Yes

Smart Checklist

Created September 4, 2023 at 1:52 AM
Updated February 29, 2024 at 8:36 PM