VictoriaMetrics/lib/logstorage
Aliaksandr Valialkin b58c429044
app/vlselect: follow-up for 451d2abf50
- Consistently return the first `limit` log entries if the total size of found log entries doesn't exceed 1Mb.
  See app/vlselect/logsql/sort_writer.go . Previously random log entries could be returned with each request.
- Document the change at docs/VictoriaLogs/CHANGELOG.md
- Document the `limit` query arg at docs/VictoriaLogs/querying/README.md
- Make the change less intrusive.

Updates https://github.com/VictoriaMetrics/VictoriaMetrics/issues/5674
Updates https://github.com/VictoriaMetrics/VictoriaMetrics/pull/5778
2024-02-18 23:06:08 +02:00
..
arena.go app/victoria-logs: initial code release 2023-07-06 17:30:05 -07:00
block.go lib/logstorage: follow-up for 94627113db 2023-10-02 21:06:49 +02:00
block_data.go lib/logstorage: follow-up for 94627113db 2023-10-02 21:06:49 +02:00
block_data_test.go app/victoria-logs: initial code release 2023-07-06 17:30:05 -07:00
block_header.go app/victoria-logs: initial code release 2023-07-06 17:30:05 -07:00
block_header_test.go app/victoria-logs: initial code release 2023-07-06 17:30:05 -07:00
block_search.go Makefile: update golangci-lint from v1.51.2 to v1.54.2 2023-09-01 10:25:49 +02:00
block_stream_merger.go lib/logstorage: follow-up for 94627113db 2023-10-02 21:06:49 +02:00
block_stream_reader.go app/victoria-logs: initial code release 2023-07-06 17:30:05 -07:00
block_stream_writer.go app/victoria-logs: initial code release 2023-07-06 17:30:05 -07:00
block_test.go app/victoria-logs: initial code release 2023-07-06 17:30:05 -07:00
block_timing_test.go app/victoria-logs: initial code release 2023-07-06 17:30:05 -07:00
bloomfilter.go app/victoria-logs: initial code release 2023-07-06 17:30:05 -07:00
bloomfilter_test.go app/victoria-logs: initial code release 2023-07-06 17:30:05 -07:00
consts.go lib/logstorage: follow-up for 94627113db 2023-10-02 21:06:49 +02:00
datadb.go count inmemoryParts that have not been taken for merge (#5447) 2024-02-01 14:07:13 +02:00
datadb_test.go app/victoria-logs: initial code release 2023-07-06 17:30:05 -07:00
encoding.go app/victoria-logs: initial code release 2023-07-06 17:30:05 -07:00
encoding_test.go lib/logstorage: fix make test-pure tests 2023-07-06 22:22:08 -07:00
encoding_timing_test.go app/victoria-logs: initial code release 2023-07-06 17:30:05 -07:00
filenames.go app/victoria-logs: initial code release 2023-07-06 17:30:05 -07:00
filters.go lib/logstorage: follow-up for 8a23d08c21 2023-10-02 20:38:00 +02:00
filters_test.go app/vlselect: follow-up for 451d2abf50 2024-02-18 23:06:08 +02:00
hash128.go app/victoria-logs: initial code release 2023-07-06 17:30:05 -07:00
hash128_test.go app/victoria-logs: initial code release 2023-07-06 17:30:05 -07:00
hash128_timing_test.go app/victoria-logs: initial code release 2023-07-06 17:30:05 -07:00
index_block_header.go app/victoria-logs: initial code release 2023-07-06 17:30:05 -07:00
index_block_header_test.go app/victoria-logs: initial code release 2023-07-06 17:30:05 -07:00
indexdb.go all: consistently use %w instead of %s in when error is passed to fmt.Errorf() 2023-10-26 09:44:40 +02:00
indexdb_test.go app/victoria-logs: initial code release 2023-07-06 17:30:05 -07:00
inmemory_part.go app/victoria-logs: initial code release 2023-07-06 17:30:05 -07:00
inmemory_part_test.go lib/logstorage: go fmt 2023-07-06 22:24:18 -07:00
inmemory_part_timing_test.go app/victoria-logs: initial code release 2023-07-06 17:30:05 -07:00
log_rows.go lib/logstorage: follow-up for 94627113db 2023-10-02 21:06:49 +02:00
log_rows_timing_test.go app/victoria-logs: initial code release 2023-07-06 17:30:05 -07:00
parser.go lib/logstorage: properly encode "offset" search word just after _time filter 2023-07-18 16:03:57 -07:00
parser_test.go vmui: add Active Queries page (#4653) 2023-07-19 16:02:58 -07:00
part.go app/victoria-logs: initial code release 2023-07-06 17:30:05 -07:00
part_header.go app/victoria-logs: initial code release 2023-07-06 17:30:05 -07:00
part_header_test.go app/victoria-logs: initial code release 2023-07-06 17:30:05 -07:00
partition.go lib/logstorage: follow-up for 8a23d08c21 2023-10-02 20:38:00 +02:00
partition_test.go app/victoria-logs: initial code release 2023-07-06 17:30:05 -07:00
rows.go lib/logstorage: follow-up for 94627113db 2023-10-02 21:06:49 +02:00
rows_test.go app/victoria-logs: initial code release 2023-07-06 17:30:05 -07:00
storage.go all: add up to 10% random jitter to the interval between periodic tasks performed by various components 2024-01-22 18:39:16 +02:00
storage_search.go app/vlselect: follow-up for 451d2abf50 2024-02-18 23:06:08 +02:00
storage_search_test.go app/vlselect: follow-up for 451d2abf50 2024-02-18 23:06:08 +02:00
storage_test.go lib/logstorage: follow-up for 8a23d08c21 2023-10-02 20:38:00 +02:00
stream_filter.go app/victoria-logs: initial code release 2023-07-06 17:30:05 -07:00
stream_id.go app/victoria-logs: initial code release 2023-07-06 17:30:05 -07:00
stream_id_test.go app/victoria-logs: initial code release 2023-07-06 17:30:05 -07:00
stream_tags.go app/victoria-logs: initial code release 2023-07-06 17:30:05 -07:00
tenant_id.go app/vlinsert/loki: follow-up after 09df5b66fd 2023-07-20 21:52:11 -07:00
tenant_id_test.go app/vlinsert: add support of loki push protocol (#4482) 2023-07-20 16:49:43 -07:00
tokenizer.go app/victoria-logs: initial code release 2023-07-06 17:30:05 -07:00
tokenizer_test.go app/victoria-logs: initial code release 2023-07-06 17:30:05 -07:00
tokenizer_timing_test.go app/victoria-logs: initial code release 2023-07-06 17:30:05 -07:00
u128.go app/victoria-logs: initial code release 2023-07-06 17:30:05 -07:00
u128_test.go app/victoria-logs: initial code release 2023-07-06 17:30:05 -07:00
values_encoder.go lib/logstorage: follow-up for 94627113db 2023-10-02 21:06:49 +02:00
values_encoder_test.go lib/logstorage: fix TestValuesEncoder() on 32-bit architectures 2023-07-13 11:28:04 -07:00
values_encoder_timing_test.go app/victoria-logs: initial code release 2023-07-06 17:30:05 -07:00