Commit Graph

498 Commits

Author SHA1 Message Date
xiao-77 6d56306111 modify tsdb cache release log to trace 2024-09-30 10:47:29 +08:00
xiao-77 70bef74572 modify tsdb log 2024-09-29 18:58:18 +08:00
xiao-77 40a60cd35c modify log msg and log level 2024-09-29 16:18:43 +08:00
Shungang Li 549d27955e fix: (last) dirty mark correction 2024-09-29 11:01:57 +08:00
Shungang Li 10bd0fed21 enh: add lrucache overwriter 2024-09-27 17:24:45 +08:00
Shungang Li 435af1e486 fix: (last) mark lru dirty 2024-09-26 17:32:32 +08:00
Hongze Cheng 53caf9f018 ehn: remove void 2024-09-26 10:43:16 +08:00
Minglei Jin e19514e2c4 void cleanups 2024-09-25 16:52:17 +08:00
lyh250-666 5f6802e0a1 enh:modify addede rror code passing 2024-09-24 16:29:28 +08:00
xiao-77 6bc8972c8c fix ci snapshot.py 2024-09-23 19:56:25 +08:00
xiao-77 9e8518e772 fix add mem free before retuen 2024-09-23 14:11:19 +08:00
xiao-77 7db555c788 fix crash at ci 2024-09-20 17:36:34 +08:00
xiao-77 8c9b7e9a15 Merge branch '3.0' into enh/TD-31892 2024-09-20 17:21:46 +08:00
xiao-77 4717b99cef fix ci 2024-09-20 10:33:33 +08:00
xiao-77 389f5ff088 fix core at tsdbCache 2024-09-19 20:56:13 +08:00
lyh250-666 ae7dde1aa2 enh:modify error code passing 2024-09-19 19:51:51 +08:00
xiao-77 8ba8210f64 remove void in wal lruCache and tsdbCache 2024-09-19 16:22:23 +08:00
Shungang Li 0ea38a15a8 fix: (last) nextRowIterGet compare pk 2024-09-14 10:26:14 +08:00
Hongze Cheng 553234c1ec
Merge pull request #27844 from taosdata/fix/TD-32042-3.0
fix: (last) heap-buffer-overflow in tsdbCacheDel
2024-09-13 10:47:48 +08:00
Shungang Li 5e8f6557b8 fix: (last) heap-buffer-overflow in tsdbCacheDel 2024-09-12 16:20:56 +08:00
Hongze Cheng 19e95c126c
Merge pull request #27807 from taosdata/fix/TD-31880-3.0
fix: (last) call rocksdb_write before rocksdb_multi_get
2024-09-12 14:05:29 +08:00
Shungang Li 4d103c09d4 fix: ignore tsdbCacheFlushDirty errcode 2024-09-11 19:22:04 +08:00
Hongze Cheng a3b0a544e9
Merge pull request #27779 from taosdata/fix/TD-31882
fix(tsdb/cache): comment mem's early ts block
2024-09-11 16:13:30 +08:00
Shungang Li 44a955218c fix: (last) call rocksdb_write before rocksdb_multi_get 2024-09-11 13:48:23 +08:00
Shungang Li fede52d5b7 enh: (last) rm rwritebatch 2024-09-11 09:24:19 +08:00
Minglei Jin 529af8d20b fix(tsdb/cache): comment mem's early ts block 2024-09-10 16:48:16 +08:00
Hongze Cheng f18c1d8710 enh: error code handle 2024-09-10 14:35:43 +08:00
Hongze Cheng 37491186ee
Merge pull request #27767 from taosdata/enh/TD-31890-2
enh: remove void with error code handle
2024-09-10 14:20:55 +08:00
Hongze Cheng 09780dad3a
Merge pull request #27753 from taosdata/fix/TD-31954-3.0
enh: (last) add check for taosLRUCacheInsert
2024-09-10 13:54:48 +08:00
Hongze Cheng 63b64a90c0 enh: remove void with error code handle 2024-09-10 13:12:05 +08:00
Hongze Cheng 6bc44239c0 enh: remove void in tsdb 2024-09-10 10:05:38 +08:00
Shungang Li 8924df6175 enh: (last) handle LRU overwrite errorcode 2024-09-10 09:52:32 +08:00
Shungang Li bdb85e640d enh: (last) add check for taosLRUCacheInsert 2024-09-09 16:51:45 +08:00
Shungang Li 03b1ec08d1 fix: (last) mergeLastCid add check for iCol 2024-09-07 17:45:16 +08:00
Shungang Li a02acd7383 fix: add null check for getTableLoadInfo 2024-09-06 14:01:55 +08:00
Minglei Jin 1bd0702a48 fix(tsdb/cache): copy entry before transfering to lru 2024-09-03 15:45:54 +08:00
Shungang Li 5147dc582a fix: (last) use insert to update LRU entry 2024-09-02 10:10:29 +08:00
Jinqing Kuang 9f7087ffbc fix(query)[TD-31791]: fix null pointer access after memory allocation failure 2024-08-30 09:25:32 +08:00
Pan Wei 8b0a040c64
Merge pull request #27500 from taosdata/enh/TD-31691
Modify error code passing for taosMemoryCalloc function in vnode
2024-08-28 11:24:26 +08:00
lyh250-666 06daf85130 Modify error code passing for taosMemoryCalloc function in vnode 2024-08-27 17:37:01 +08:00
Minglei Jin 19f461c06b fix simple hash put retval 2024-08-26 17:40:59 +08:00
Minglei Jin d3b3fdb498 array/retval: fix array return values 2024-08-26 15:54:47 +08:00
Shungang Li 23365f1cf6 fix: (last) memleak in mergeLastCid 2024-08-23 16:58:05 +08:00
Hongze Cheng 5d1efa9478
Merge pull request #27404 from taosdata/fix/TD-31504-3.0
fix: (pk) memleak in tsdbRetrieveCacheRows
2024-08-23 13:31:31 +08:00
Shungang Li f8ffc4b08a fix: (last) handle memory leaks in exception branch 2024-08-22 16:32:46 +08:00
Shungang Li 995bb99a3e fix: (pk) realloc for rowkey 2024-08-22 09:57:49 +08:00
Minglei Jin 59e2849756 fix(tsdb/cache): check array init's retval 2024-08-21 18:37:17 +08:00
Haojun Liao 2b68e110e5 fix(tsdb): check return value. 2024-08-19 19:01:26 +08:00
Haojun Liao d0e31f711f fix(tsdb): return code for tMergeTreeNext 2024-08-19 11:01:54 +08:00
kailixu 1059650e57 enh: code optimization 2024-08-14 22:20:03 +08:00
kailixu 462748e715 Merge branch '3.0' into fix/TD-31320-3.0a 2024-08-14 22:06:43 +08:00
kailixu 92704f8b7a fix: check error code 2024-08-14 22:06:18 +08:00
kailixu 6c917646b2 fix(tsdb/cache): return error code 2024-08-14 16:15:37 +08:00
Shungang Li f15f7da114 enh: remove TSDB_LAST_CACHE_EMPTY from enum 2024-08-13 09:44:34 +08:00
Shungang Li 3e923f765b fix: add del mark for last cache 2024-08-12 09:37:29 +08:00
Minglei Jin 105594848c fix(tsdb/cache): return oom if array or push failed 2024-08-09 17:00:18 +08:00
Hongze Cheng 9db98f34cf
Merge pull request #27019 from taosdata/fix/TD-31273
fix(tsdb/cache): not put null value to rocks
2024-08-07 10:22:02 +08:00
Minglei Jin 3d29fde68c destroy non-null array before return 2024-08-07 08:44:09 +08:00
Minglei Jin c170cb4cf9 fix(tsdb/cache): return oom with null array init 2024-08-06 19:05:50 +08:00
Minglei Jin f0f910d256 fix(tsdb/cache): not put null value to rocks 2024-08-06 18:54:11 +08:00
Hongze Cheng 8ef31bc186 enh: refactor return code 2024-07-29 20:14:15 +08:00
Minglei Jin 334dcd381b void unused return values 2024-07-29 09:34:20 +08:00
Minglei Jin 19819c4055 update unused return values 2024-07-25 16:08:07 +08:00
Minglei Jin aa921c9870 update sync raft log 2024-07-25 11:13:04 +08:00
Minglei Jin ea7eebc8a9 check memory alloc return values 2024-07-25 10:32:56 +08:00
Minglei Jin 3c41b5a98c use new macros 2024-07-24 17:22:00 +08:00
Minglei Jin e0cd502afe remove unused code 2024-07-24 14:43:31 +08:00
Minglei Jin 45b1bbf0ed use new macros from bcache & pgcache opening 2024-07-24 14:34:27 +08:00
Minglei Jin 45e00afad1 tsdb/cache: remove unused block index cache 2024-07-24 14:20:59 +08:00
Hongze Cheng f56ab1ee27
Merge pull request #26630 from taosdata/fix/TD-30816-3.0
fix: (pk) load last cache from tsdb
2024-07-18 10:51:59 +08:00
Shungang Li 394da5d8bf fix: (pk) load last cache from tsdb 2024-07-17 14:27:06 +08:00
Haojun Liao 94f596c4ce refactor: remove the invalid return value. 2024-07-16 18:52:01 +08:00
Haojun Liao dd590f36e2 refactor: do some refactor. 2024-07-15 23:53:12 +08:00
Haojun Liao 51e9723d66 refactor: do some refactor. 2024-07-15 19:37:52 +08:00
Shungang Li 3cc926d597 fix: tsdbCacheUpdate incorrect filling cache 2024-07-10 17:52:13 +08:00
Hongze Cheng b761bd2e38 enh: port main change to 3.0 2024-06-26 10:32:15 +08:00
Hongze Cheng 5c1c65751a
Merge pull request #26083 from taosdata/fix/TD-30200-3.0
fix: last cache rebuild from multi brinBlk
2024-06-11 13:46:55 +08:00
Shungang Li f9950d5fa3 fix: last cache rebuild from multi brinBlk 2024-06-07 14:47:02 +08:00
Minglei Jin 01e5e124fb fix(last_row): fix empty table condition 2024-06-07 13:47:04 +08:00
Shungang Li 9947d8ec42 fix: last cache memory leak 2024-05-24 12:57:49 +08:00
Shungang Li 0e76ba4034 fix: last cache update ts for col format 2024-05-22 15:15:41 +08:00
Shungang Li bf40585f6c fix: cache update for last key 2024-05-17 16:41:26 +08:00
Minglei Jin 7292d7a0ff fix(tsdb/cache): update array reference to fix missing tables/groupby 2024-05-17 14:59:20 +08:00
Shungang Li b79dda6689 enh: adjust order for row format cache update 2024-05-17 11:31:09 +08:00
Minglei Jin 3b8c27764d Merge branch '3.0' into fix/TD-29995-3.0 2024-05-17 10:17:33 +08:00
Shungang Li 5c952fc922 enh: cleanup 2024-05-17 09:10:35 +08:00
Shungang Li fc047ddafc fix: last cache update rule 2024-05-16 09:30:27 +08:00
Haojun Liao 43e018e210
Merge pull request #25733 from taosdata/fix/TD-29745
optimize scan data
2024-05-15 13:41:08 +08:00
54liuyao ab3ba3f2e4 optimize scan tsdb 2024-05-15 09:09:20 +08:00
Shungang Li 694680600e fix: tsdbCache vartype of zero size 2024-05-14 09:23:32 +08:00
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