Skip to content

query_log_min_msec is ignored for UPDATEs #3189

Closed
@sanikolaev

Description

@sanikolaev

Bug Description:

When query_log_min_msec is set a fast UPDATE query can be still logged, e.g.:

# cat /opt/homebrew/etc/manticoresearch/manticore.conf|grep query_log
    query_log = /opt/homebrew/var/log/manticore/query.log
    query_log_min_msec = 500
# mysql -P9306 -h0 -e "drop table if exists t; create table t(a int); insert into t values(1, 1); update t set a = 2 where id = 1; select * from t where id = 1"
+------+------+
| id   | a    |
+------+------+
|    1 |    2 |
+------+------+
# tail -1 /opt/homebrew/var/log/manticore/query.log
/* Tue Mar 11 21:05:38.002 2025 conn 9 (127.0.0.1:55048) real 0.000 */ update t set a = 2 where id = 1;

Manticore Search Version:

Manticore 7.4.6 b2ff82920@25022808 (columnar 4.1.1 25f4706@25022806) (secondary 4.1.1 25f4706@25022806) (knn 4.1.1 25f4706@25022806)

Operating System Version:

Macos

Have you tried the latest development version?

No

Internal Checklist:

To be completed by the assignee. Check off tasks that have been completed or are not applicable.

  • Implementation completed
  • Tests developed
  • Documentation updated
  • Documentation reviewed
  • Changelog updated

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions