News

1.4.3: 2019-05-22

Fixes

  • server-verifier:
    • Fix a bug that failure execute test when there is no "--rewrite-not-or-regular-expression" option

1.4.2: 2019-05-13

Improvements

  • Added support for drilldowns[LABEL].columns[LABEL].

1.4.1: 2019-05-09

Improvements

  • groonga-query-log-run-regression-test:

    • Added support for notifying by e-mail.
  • Added support for flush.

  • Added :raw_message to operation.

  • Added support for drilldowns[LABEL].adjust.

1.4.0: 2019-03-13

Improvements

  • groonga-query-log-run-regression-test:

    • Added support for rewriting "column1 @ \"keyword\" && column2 @~ \"^(?!.*keyword1|keyword2|...).+$\"". Specify --rewrite-not-or-regular-expression option to enable it.

Fixes

  • groonga-query-log-check-crash:

    • Fixed missing nil check when request path is "/".
  • GroongaQueryLog::Statistic:

    • Fixed missing nil check in #to_hash when request path is "/".

1.3.9: 2018-11-20

Improvements

  • Improve the accuracy of time so as to become the same accuracy as Groonga.

  • groonga-query-log-check-crash:

    • Added support for truncate leak detection.
  • groonga-query-log-run-regression-test:

    • Added support for rewriting vector.column != \"\" with vector_size(vector) > 0.
    • Improve "stop-on-failure" option so as to stop execute of tests even when cause HTTP errors.
    • Added --rewrite_nullable_reference_number option.
  • groonga-query-log-server-verifier:

    • support reporting unexpected error.
  • groonga-query-log-format-regression-test-logs

    • Added support error log.
    • Added label for command.

Fixes

  • groonga-query-log-run-regression-test:

    • Fixed a bug that fails read a file that except ".rb" under the schema directory.

1.3.8: 2018-10-18

Improvements

  • groonga-query-log-verify-server:

    • Changed to flush logs as soon as possible.
    • Added --vector-not-equal-empty-string option.
    • Added support an unification for "null" and null column types.
  • groonga-query-log-run-regression-test:

    • Changed to flush logs as soon as possible.
    • Added support for rewriting vector == ... with vector @ ....
    • Added support for logging rewriting filters.
    • Added --vector-not-equal-empty-string option.
    • Added support an unification for "null" and null column types.

Fixes

  • groonga-query-log-verify-server:

    • Fixed a bug that logged contents are removed with .tar.gz query log.
  • groonga-query-log-run-regression-test:

    • Fixed a bug that logged contents are removed with .tar.gz query log.

1.3.7: 2018-09-11

Improvements

  • groonga-query-log-run-regression-test:

    • Added support for loading data by Ruby.
  • groonga-query-log-check-crash:

    • Added lock related logs to important logs.

1.3.6: 2018-08-31

Improvements

  • groonga-query-log-run-regression-test:

    • Added support for labeled drilldown.

1.3.5: 2018-08-30

Improvements

  • groonga-query-log-check-crash:

    • Added support for no grn_init case.
  • groonga-query-log-analyze:

    • Improved range_filter and logical_range_filter support.

1.3.4: 2018-08-22

Improvements

  • groonga-query-log-check-crash:

    • Added support for logs generated by Mroonga.
    • Added support for reporting unfinished processes.
    • Added support for reporting successfully finished processes.
    • Added support for reporting path that includes the last entry.
  • groonga-query-log-extract:

    • Added --inspect-query option.
  • groonga-query-log-analyze:

    • Added support conditions report for range_filter, logical_select and logical_range_filter.

Fixes

  • groonga-query-log-check-crash:

    • Fixed memory leak detection logic.

1.3.3: 2018-07-05

Improvements

  • groonga-query-log-run-regression-test:

    • Added support for tar.gz.
  • groonga-query-log-verify-server:

    • Added support for tar.gz.

1.3.2: 2018-07-03

Improvements

  • groonga-query-log-run-regression-test:

    • Added --target-command-names option.
    • Added --read-timeout option.
  • groonga-query-log-verify-server:

    • Added --groonga1-read-timeout option.
    • Added --groonga2-read-timeout option.
    • Added --read-timeout option.

1.3.1: 2018-06-18

Improvements

  • groonga-query-log-check-crash:

    • Added more crash detection patterns.
  • groonga-query-log-run-regression-test:

    • Added support for floating number accuracy difference since Groonga 6.0.4.
    • Added support for sort_keys parameter.
    • Added support for drilldown.
    • Added --ignore-drilldown-key option.
    • Changed to return non-zero on failure.
    • Added --stop-on-failure option.
  • groonga-query-log-verify-server:

    • Added --ignore-drilldown-key option.
    • Changed to return non-zero on failure.
    • Added --stop-on-failure option.

1.3.0: 2018-06-11

Improvements

  • Added support for filter context.

  • Added xterm-256color as a colorable terminal.

  • groonga-query-log-check-crash:

    • Added support for multiple process logs.
    • Added more crash detection patterns.
    • Added support for showing running queries on crash.
    • Added support for showing important messages.
  • groonga-query-log-extract:

    • Added --no-include-arguments option.
    • Improved pipe support.
  • groonga-query-log-replay:

    • Added --read-timeout option.

1.2.9: 2018-02-04

Improvements

  • GroongaQueryLog: Renamed from Groonga::QueryLog. Groonga::QueryLog is deprecated but still usable.

  • GroongaQueryLog::Analyzer::Statistic#each_operation: Added enumerator support.

  • groonga-query-log-analyze: Added "N records" support in HTML report.

  • groonga-query-log-replay: Changed the default protocol to HTTP from GQTP.

  • groonga-query-log-analyze: Added --stream-all option.

  • GroongaQueryLog::Parser: Added extra information support in load and delete commands' query log.

  • groonga-query-log-analyze-load: Added.

  • groonga-query-log-analyze: Added CSV reporter.

  • groonga-query-log-check-crash: Added.

  • GroongaQueryLog::Parser#current_path: Added.

  • Required groonga-log 0.1.2 or later.

1.2.8: 2017-10-26

Fixes

  • groonga-query-log-replay: Fixed a request error related bug.

  • groonga-query-log-replay: Fixed a bug that --target-command is ignored.

1.2.7: 2017-09-27

Improvements

  • groonga-query-log-replay: Improved error handling correctly for unexpected file serving query or groonga-client errors.

Fixes

  • groonga-query-log-replay: Fixed a bug that specified value to --n-clients option is ignored.

1.2.6: 2017-05-31

Improvements

  • Supported changed query log format since Groonga 7.0.1. The output format is changed about dynamic columns, drilldown, labeled drilldown, but groonga-query-log still supports previous format.

  • groonga-query-log-extract: Fixed to ignore empty command not to raise exception error.

  • groonga-query-log-detect-memory-leak groonga-query-log-replay: Fixed uninitialized constant error when executing command.

1.2.5: 2017-05-08

Fixes

  • groonga-query-log-run-regression-test: Fixed a bug that the command doesn't care about error in calculation when it compares cache hit rate.

1.2.4: 2017-04-24

Improvements

  • groonga-query-log-run-regression-test: Added --old-groonga-option and --new-groonga-option options. They add an additional old or new groonga option. You can specify these options multiple times to specify multiple groonga options.

  • groonga-query-log-run-regression-test: Added a persistent cache verification feature. It verifies cache_hit_rate in status command results automatically when you specify --old-groonga-option=--cache-base-path or --new-groonga-option=--cache-base-path.

1.2.3: 2016-09-29

Improvements

  • groonga-query-log-verify-server: Supported file content return request (it means that request to server is '/').

Fixes

  • run-regression-test: Fixed a bug that --skip-finished-queries doesn't work.

  • groonga-query-log-analyzer: Fixed to work with groonga-command 1.2.3 or later.

1.2.2: 2016-06-15

Improvements

  • groonga-query-log-verify-server: Relaxed random score detect condition.

  • groonga-query-log-verify-server: Supported the case that only one response has outputs for --output_columns "-column". The -column outputs are ignored.

1.2.1: 2016-05-27

Fixes

  • groonga-query-log-verify-server: Fixed a bug that responses aren't saved as JSON.

1.2.0: 2016-05-27

Improvements

  • groonga-query-log-verify-server: Added normalize command to the default check target commands.

  • groonga-query-log-verify-server: Added logical_shard_list command to the default check target commands.

  • groonga-query-log-verify-server: Added io_flush command to the default check target commands.

  • groonga-query-log-verify-server: Added object_exist command to the default check target commands.

  • groonga-query-log-analyzer: Added --target-commands option.

  • groonga-query-log-analyzer: Added --target-tables option.

Fixes

  • Fixed undefined variable name error.

  • groonga-query-log-analyzer: Fixed console output format

1.1.9: 2016-01-22

Fixes

  • Fixed an error when parsing query log that includes logical_select and logical_range_filter.

1.1.8: 2015-09-14

Improvements

  • groonga-query-log-run-regression-test: Stopped to loading data in parallel. It's too high load for large data.

1.1.7: 2015-09-04

Improvements

  • groonga-query-log-run-regression-test: Supported Windows.
  • groonga-query-log-run-regression-test: Supported logical_select, logical_range_filter and logical_count as the test target commands.

1.1.6: 2015-08-19

Improvements

  • groonga-query-log-run-regression-test: Added --no-care-order option that doesn't care order of records in response.
  • groonga-query-log-verify-server: Added --no-care-order option that doesn't care order of records in response.
  • groonga-query-log-verify-server: Added the following commands to the default target command names:
    • logical_count
    • logical_range_filter
    • logical_select

1.1.5: 2015-08-12

Improvements

  • groonga-query-log-run-regression-test: Changed to use --file command line option of groonga instead of redirect to specify input.

Fixes

  • groonga-query-log-extract: Fixed a bug that it fails to boot.

1.1.4: 2015-06-11

Improvements

  • groonga-query-log-run-regression-test: Stopped to output query log by default. Use --output-query-log option to output query log.

1.1.3: 2015-05-26

Improvements

  • groonga-query-log-run-regression-test: Ignored no command request such as /.

Fixes

  • groonga-query-log-analyzer: Fixed a bug that --no-color option is ignored. [Reported by Gurunavi, Inc.]
  • groonga-query-log-analyzer: Fixed a bug that options aren't applied when --stream is given.

Thanks

  • Gurunavi, Inc.

1.1.2: 2014-11-20

Fixes

  • groonga-query-log-format-regression-test-logs: Fixed a bug that the command doesn't work in normal usage.

1.1.1: 2014-11-06

Improvements

  • groonga-query-log-run-regression-test: Forced to use JSON output type because XML output type and TSV output type for select command aren't supported yet.

1.1.0: 2014-10-31

Improvements

  • groonga-query-log-run-regression-test: Supported log output on loading data.

1.0.9: 2014-09-09

Improvements

  • groonga-query-log-check-command-version-incompatibility: Added. It parses commands in passed query logs and reports incompatible items in target command version.

1.0.8: 2014-07-23

Improvements

  • groonga-query-log-analyzer: Added "slow" information to query and operations.
  • groonga-query-log-analyzer: Added "json-stream" reporter. It outputs a statistic as a JSON in one line.

1.0.7: 2014-06-23

Improvements

  • groonga-query-log-show-running-queries: Added a command that shows running queries on the specified base time. It will be useful to find a query that causes a problem.

1.0.6: 2014-06-02

Improvements

  • groonga-query-log-run-regression-test: Supported output_columns=* case.
  • groonga-query-log-format-regression-test-logs: Added a command that formats logs by groonga-query-log-run-regression-test.

1.0.5: 2014-05-12

Improvements

  • groonga-query-log-verify-server: Supported groonga-client 0.0.8.
  • groonga-query-log-verify-server: Supported comparing errors.
  • groonga-query-log-run-regression-test: Added a command that runs regression test. It is based on groonga-query-log-verify-server.

1.0.4: 2014-02-09

Improvements

  • groonga-query-log-verify-server: Supported reading input from the standard input.
  • groonga-query-log-verify-server: Supported logging error on connecting server.
  • groonga-query-log-verify-server: Supported random sort select.
  • groonga-query-log-verify-server: Added --abort-on-exception debug option.

1.0.3: 2014-01-06

Improvements

  • groonga-query-log-verify-server: Added a command that verifies two servers returns the same response for the same request. (experimental)

Fixes

  • groonga-query-log-analyzer: Fixed a bug --stream doesn't work.

1.0.2: 2013-11-01

Improvements

  • [GitHub#1] Add Travis CI status image to README. Patch by Kengo Suzuki. Thanks!!!
  • Dropped Ruby 1.8 support.
  • Added groonga-query-log-replay that replays queries in query log.
  • Added groonga-query-log-detect-memory-leak that detects a memory leak by executing each query in query log.

Thanks

  • Kengo Suzuki

1.0.1: 2012-12-21

Improvements

  • Added "groonga-query-log-extract" command and classes implementing it. "groonga-query-log-extract" is the command to extract commands (table_create ..., load..., select... and so on) from query logs. "groonga-query-log-extract --help" shows its usage.

Changes

  • Rename groonga-query-log-analyzer to groonga-query-log-analyze (removed trailing "r").
  • Raised error and exited of each running command for no specified input files, redirects, and pipe via standard input.

1.0.0: 2012-12-14

The first release!!!