Commit graph

88 commits

Author SHA1 Message Date
Aliaksandr Valialkin
1f79f655db
wip 2024-05-21 15:15:16 +02:00
Aliaksandr Valialkin
54b42b64a9
wip 2024-05-21 14:53:03 +02:00
Aliaksandr Valialkin
5cb0390dcd
wip 2024-05-21 14:45:24 +02:00
Aliaksandr Valialkin
d272c4822b
wip 2024-05-21 14:33:45 +02:00
Aliaksandr Valialkin
1a8fbdbb06
wip 2024-05-21 14:19:09 +02:00
Aliaksandr Valialkin
3888356bf6
wip 2024-05-21 13:53:55 +02:00
Aliaksandr Valialkin
13c37991d7
wip 2024-05-21 13:27:34 +02:00
Aliaksandr Valialkin
d3878885fe
wip 2024-05-21 12:59:19 +02:00
Aliaksandr Valialkin
0009bd6271
wip 2024-05-21 12:56:28 +02:00
Aliaksandr Valialkin
f318b90862
wip 2024-05-21 12:55:11 +02:00
Aliaksandr Valialkin
a42a87319d
wip 2024-05-21 10:53:32 +02:00
Aliaksandr Valialkin
b593065865
wip 2024-05-21 10:39:02 +02:00
Aliaksandr Valialkin
d75b0df747
wip 2024-05-21 00:06:58 +02:00
Aliaksandr Valialkin
5e61b40fef
wip 2024-05-20 23:50:03 +02:00
Aliaksandr Valialkin
9e336e383d
wip 2024-05-20 23:46:08 +02:00
Aliaksandr Valialkin
952ffe9dd8
wip 2024-05-20 23:45:13 +02:00
Aliaksandr Valialkin
33d1b02560
wip 2024-05-20 23:29:17 +02:00
Aliaksandr Valialkin
9927517f7c
wip 2024-05-20 23:28:11 +02:00
Aliaksandr Valialkin
15c6bf4498
wip 2024-05-20 23:27:21 +02:00
Aliaksandr Valialkin
c5734e18b9
wip 2024-05-20 23:23:22 +02:00
Aliaksandr Valialkin
eac0722068
wip 2024-05-20 22:21:05 +02:00
Aliaksandr Valialkin
13b55a338b
wip 2024-05-20 22:09:54 +02:00
Aliaksandr Valialkin
25d8f2d180
wip 2024-05-20 22:06:03 +02:00
Aliaksandr Valialkin
eeadefbca0
wip 2024-05-20 22:02:09 +02:00
Aliaksandr Valialkin
c5c96d8016
wip 2024-05-20 21:47:30 +02:00
Aliaksandr Valialkin
fbf1485f14
wip 2024-05-20 21:41:37 +02:00
Aliaksandr Valialkin
ae4f92f4cd
wip 2024-05-20 21:34:24 +02:00
Aliaksandr Valialkin
01f63b9e94
wip 2024-05-20 16:51:18 +02:00
Aliaksandr Valialkin
f4ac7c50b6
wip 2024-05-20 16:49:51 +02:00
Aliaksandr Valialkin
ae0a11d7c1
wip 2024-05-20 16:41:08 +02:00
Aliaksandr Valialkin
a8dde0aeac
wip 2024-05-20 16:09:07 +02:00
Aliaksandr Valialkin
fba053b34d
wip 2024-05-20 14:09:39 +02:00
Aliaksandr Valialkin
ef2df6889e
wip 2024-05-20 12:43:46 +02:00
Aliaksandr Valialkin
00294e5d0d
wip 2024-05-20 12:36:20 +02:00
Aliaksandr Valialkin
bc4a0b8f37
lib/logstorage: fix golangci-lint warnings 2024-05-20 11:04:12 +02:00
Aliaksandr Valialkin
ad505a7a9a
lib/logstorage: work-in-progress 2024-05-20 04:08:30 +02:00
Aliaksandr Valialkin
0aa19a2837
lib/logstorage: work-in-progress 2024-05-15 04:55:44 +02:00
Aliaksandr Valialkin
da3af090c6
lib/logstorage: work-in-progress 2024-05-14 03:05:03 +02:00
Aliaksandr Valialkin
cb35e62e04
lib/logstorage: work-in-progress
Updates https://github.com/VictoriaMetrics/VictoriaMetrics/issues/6258
2024-05-14 01:49:23 +02:00
Aliaksandr Valialkin
cc2647d212
lib/encoding: optimize UnmarshalVarUint64, UnmarshalVarInt64 and UnmarshalBytes a bit
Change the return values for these functions - now they return the unmarshaled result plus
the size of the unmarshaled result in bytes, so the caller could re-slice the src for further unmarshaling.

This improves performance of these functions in hot loops of VictoriaLogs a bit.
2024-05-14 01:23:54 +02:00
hagen1778
17283fab6c
lib/logstorage: make linter happy
Signed-off-by: hagen1778 <roman@victoriametrics.com>
2024-05-13 15:35:11 +02:00
Aliaksandr Valialkin
9dbd0f9085
lib/logstorage: initial implementation of pipes in LogsQL
See https://docs.victoriametrics.com/victorialogs/logsql/#pipes
2024-05-12 16:33:31 +02:00
Aliaksandr Valialkin
590160ddbb
lib/slicesutil: add helper functions for setting slice length and extending its capacity
The added helper functions - SetLength() and ExtendCapacity() - replace error-prone code with simple function calls.
2024-05-12 11:32:17 +02:00
wanshuangcheng
83216e956c
chore: fix function names in comment (#6076)
Signed-off-by: wanshuangcheng <wanshuangcheng@outlook.com>
2024-04-08 01:11:12 -07:00
Aliaksandr Valialkin
918cccaddf
all: fix golangci-lint(revive) warnings after 0c0ed61ce7
Updates https://github.com/VictoriaMetrics/VictoriaMetrics/pull/6001
2024-04-02 23:16:29 +03:00
XLONG96
a5795f533d
lib/logstorage: avoid panic when parsing regex with stream filter (#5897) 2024-02-29 15:31:54 +02:00
Aliaksandr Valialkin
4617dc8bbe
lib/logstorage: consistently use atomic.* types instead of atomic.* functions on regular types
See ea9e2b19a5
2024-02-23 23:46:13 +02:00
Aliaksandr Valialkin
f81b480905
lib/mergeset: consistently use atomic.* types instead of atomic.* function calls on ordinary types
See ea9e2b19a5
2024-02-23 23:29:35 +02:00
Aliaksandr Valialkin
275335c181
lib/logstorage: consistently use atomic.* type for refCount and mustDrop fields in datadb and storage structs in the same way as it is used in lib/storage
See ea9e2b19a5 and a204fd69f1
2024-02-23 23:04:42 +02:00
Aliaksandr Valialkin
0514091948
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:05:51 +02:00