Commit graph

358 commits

Author SHA1 Message Date
Shungang Li
0ac5d393e6 fix: tsdbcache last disk data format change 2024-05-09 23:37:28 +08:00
Shungang Li
544999c01b fix: tsdbCacheSerialize copy from null ptr 2024-05-09 22:55:29 +08:00
Shungang Li
457b98fee8 fix: adjust SValueV0 data order 2024-05-09 21:52:43 +08:00
Shungang Li
7ae4415890 fix: refactor lastcache ser/des for compatibility 2024-05-09 19:04:11 +08:00
Hongze Cheng
e76d15e33f
Merge pull request #25690 from taosdata/fix/TD-29962
enh: refactor tsdbCache ser/des
2024-05-09 09:04:09 +08:00
Shungang Li
70598a3038 enh: refactor tsdbCache ser/des 2024-05-09 00:13:19 +08:00
Hongze Cheng
9e21eacf26
Merge pull request #25687 from taosdata/fix/TD-29934-3.0
fix(tsdb/cache-update): compare when rocks's colVal not null
2024-05-08 21:48:01 +08:00
Minglei Jin
3d1612e44b fix(tsdb/cache-update): compare when rocks's colVal not null 2024-05-08 19:27:43 +08:00
Hongze Cheng
431c3c0066
Merge pull request #25675 from taosdata/fix/TD-29934-3.0
fix(tsdb/cache-update): discard none colVals for same timestamp
2024-05-08 18:54:17 +08:00
Minglei Jin
bb227a9798 fix(tsdb/cache-update): discard none colVals for same timestamp 2024-05-08 17:29:07 +08:00
Shungang Li
733c8f8f9a fix: (compatibility) SLastCol field change cause 'last' crash 2024-05-08 16:12:43 +08:00
Minglei Jin
562bf0fe1e tsdb/cache: fix last col version when updating rocks 2024-05-07 10:24:07 +08:00
Shungang Li
b979c584fb fix: tsdbCacheGetBatch ref of tmp memory 2024-05-07 10:22:58 +08:00
Haojun Liao
ace5e12e65 fix(tsdb): set the correct lflag when creating tsdbCache reader. 2024-04-23 19:25:51 +08:00
Haojun Liao
b0f68a9147 refactor: do some internal refactor. 2024-04-23 14:58:51 +08:00
Haojun Liao
1e89b86827 refactor: do some internal refactor. 2024-04-12 13:51:29 +08:00
Shungang Li
b664e2078b fix: last memory errors 2024-04-09 18:33:33 +08:00
Shungang Li
dd55034c94 fix: pk last write error 2024-04-09 17:43:10 +08:00
Haojun Liao
33b1391b9a fix(cache): fix memory leak, and update some test cases. 2024-04-08 11:33:26 +08:00
Shungang Li
bc1c7545a8 mock commit for pk last read, need to revert 2024-04-07 17:31:06 +08:00
Shungang Li
b649a73a19 feat: pk insert/drop last cache 2024-04-07 17:30:54 +08:00
Haojun Liao
f61596706d fix(tsdb): add attributes for cache scan optr. 2024-03-26 17:34:30 +08:00
Haojun Liao
9f492a8962 other: merge 3.0 2024-03-22 17:53:11 +08:00
Haojun Liao
15e65d5f07 refactor: do some internal refactor. 2024-03-16 22:42:49 +08:00
Hongze Cheng
8aadc70b06 more code 2024-03-05 15:43:46 +08:00
Hongze Cheng
c8280e05dd Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TS-4243-3.0 2024-03-03 16:01:34 +08:00
Minglei Jin
3c80f171ef fix(tsdb/cache): new case for column changing 2024-02-29 18:56:14 +08:00
Hongze Cheng
aaa36b580e more code 2024-02-23 14:44:46 +08:00
Hongze Cheng
4b71031014 more code 2024-02-21 14:29:10 +08:00
Minglei Jin
efd2bc6bac fix(tsdb/cache): remove unused block index cache 2024-02-20 17:12:55 +08:00
Hongze Cheng
261d38d4a7
Merge pull request #24710 from taosdata/fix/TD-24422-2
enh(tsdb/cache): flag empty table when creating
2024-02-20 16:17:18 +08:00
Alex Duan
f5e0563891 coverage: tsdbCache.c 2024-02-17 12:12:37 +08:00
Minglei Jin
d59b767af3 enh(tsdb/cache): flag empty table when creating 2024-02-01 17:40:32 +08:00
factosea
b83bb8c150 fix: last_row error 2024-01-18 17:20:31 +08:00
fullhonest
cb2ab749b5 Fix TD-27003: use last row scan when select last_row, last 2024-01-15 15:22:29 +08:00
Minglei Jin
aa410a6deb fix(tsdb/cache): clear fs state before next open 2024-01-12 09:32:40 +08:00
Minglei Jin
d93b4f88b3 fix(tsdb/cache): destory brin block with fs loading 2024-01-09 15:23:15 +08:00
Minglei Jin
2ba586513f fix(tsdb/cache): erase entry from lru if deleted 2023-12-26 16:41:33 +08:00
Minglei Jin
16ad59fb18 fix(tsdb/cache): prepend ts col to load stt 2023-12-22 12:14:27 +08:00
Minglei Jin
9d3eb02f3c fix(tsdb/cache): plus 1 to nCols to load stt data 2023-12-21 17:53:44 +08:00
Minglei Jin
64378be7f4 fix(tsdb/cache): fix buffer-overflow with column adding 2023-12-18 18:06:40 +08:00
Minglei Jin
5dd9ce8ceb fix(tsdb/cache): use int64_t instead of uint64_t for stt verRange 2023-12-18 15:02:34 +08:00
Hongze Cheng
613ca2c370
Merge pull request #23982 from taosdata/fix/PI-30-3.0
fix(tsdb/cache): remove malloc zero bytes
2023-12-12 15:22:38 +08:00
Minglei Jin
c4bf9a92bc Merge branch '3.0' into enh/TD-27119 2023-12-11 19:38:04 +08:00
Haojun Liao
39ea7d7567
Merge pull request #23980 from taosdata/fix/3_liaohj
fix(tsdb): opt read stt file
2023-12-09 21:28:52 +08:00
Minglei Jin
2dbb718101 Merge branch '3.0' into enh/TD-27119 2023-12-08 14:48:17 +08:00
Minglei Jin
d4dbb55669 fix(tsdb/cache): remove malloc zero bytes 2023-12-08 11:04:04 +08:00
Haojun Liao
4ffaff4d50 other: merge 3.0 2023-12-08 10:14:42 +08:00
Haojun Liao
7c17d6f313 fix(tsdb): opt read performance by check clean stt block if only row number required. 2023-12-07 23:12:54 +08:00
Minglei Jin
a9309cb295 fix(tsdb/cache): del from mem with time range 2023-12-06 17:52:15 +08:00