Commit Graph

52 Commits

Author SHA1 Message Date
Benguang Zhao b958030b0c enh: remove unused functions in sync 2023-04-17 18:52:09 +08:00
Benguang Zhao e45367f924 fix: resolve coverity scan issues in sync and wal 2023-02-23 14:16:21 +08:00
Shengliang Guan 4d20469e2b fix: adjust log formats 2023-02-07 00:12:05 +08:00
Benguang Zhao 4edef438ea enh: transfer ownership of msgs while committing sync log entries 2022-11-26 21:57:23 +08:00
Benguang Zhao 68f8ebac9d Merge branch 3.0 to FIX/TD-19334-3.0 2022-11-25 13:10:06 +08:00
Minghao Li fd9a612d50 refactor(sync): fix coverity scan error 2022-11-23 11:15:46 +08:00
Benguang Zhao 051b73c1ed Merge branch 3.0 to FIX/TD-19334-3.0 2022-11-17 17:28:11 +08:00
Minghao Li c5aa7e072d refactor(sync): optimize, make LRU Cache hit more 2022-11-15 19:17:28 +08:00
Shengliang Guan 5de865992a refact: adjust head file and sync log 2022-11-11 12:19:10 +08:00
Shengliang Guan 98b77fe8b4 refact: adjust head file 2022-11-09 19:02:47 +08:00
Shengliang Guan 15e7e345dc refact: move sync test code to single lib 2022-11-09 14:45:07 +08:00
Shengliang Guan 1ddbeb43bb refact: adjust sync log 2022-11-07 19:19:10 +08:00
Shengliang Guan bc072aa654 Merge branch '3.0' into enh/TD-20043 2022-11-07 18:45:44 +08:00
Shengliang Guan a1c8db0f88 refact: adjust sync log 2022-11-07 17:35:24 +08:00
dapan1121 5ab6166efe enh: support grant check in vnode query 2022-11-07 16:23:40 +08:00
Benguang Zhao 5878c9a31a fix: impl ring log buffer 2022-11-07 14:27:22 +08:00
dapan1121 65636154ea fix: fix msg head issue 2022-11-04 10:47:49 +08:00
Minghao Li eb7b9d3819 fix(sync): fix coverity scan issues 2022-10-25 14:28:34 +08:00
Shengliang Guan 0914c02394 fix: compile error in mac 2022-10-22 23:49:49 +08:00
Shengliang Guan 15fade84d8 fix: compile error 2022-10-22 22:21:11 +08:00
Benguang Zhao 3b0968d7f9 enh: enable the -Wformat=2 compiler option 2022-10-19 09:24:15 +08:00
Shengliang Guan 99f29f6455 refactor: adjust log 2022-08-01 17:23:52 +08:00
Minghao Li cedad48a73 refactor(sync): add ref in log entry 2022-07-25 17:47:15 +08:00
Minghao Li 0b494d256f refactor(sync): add ref id in raft entry 2022-07-23 19:18:18 +08:00
Minghao Li 511c39a0cf refactor(sync): add skiplist entry cache 2022-07-13 15:55:38 +08:00
Shengliang Guan 6bb8a9ad8a refactor: adjust logs 2022-07-08 19:41:23 +08:00
Shengliang Guan a5e8ddbc56 refactor: adjust logs 2022-07-08 18:00:19 +08:00
Minghao Li 086ec29ca0 refactor(sync): add SyncClientRequestBatch 2022-07-02 14:41:54 +08:00
Minghao Li 5e7b7cb449 refactor(sync): add entries cache 2022-06-27 16:56:36 +08:00
Minghao Li 49ff32cda5 refactor(sync): add entries cache 2022-06-27 16:53:02 +08:00
Minghao Li ecc43b6697 refactor(sync): delete some assert 2022-06-21 16:02:36 +08:00
Shengliang Guan 30da7560f8 Merge remote-tracking branch 'origin/3.0' into fix/mnode 2022-06-04 11:50:47 +08:00
Cary Xu f2b4cca23d fix: init buffer to avoid invalid write 2022-05-29 01:10:32 +08:00
Minghao Li 7066274cc7 add sync format code 2022-04-18 21:50:56 +08:00
afwerar 222db126bc [TD-13758]<fix>: redefine memory api. 2022-03-26 00:29:53 +08:00
Minghao Li e58812aab5 sync refactor 2022-03-24 11:40:36 +08:00
Minghao Li b05706f9cf sync refactor 2022-03-23 18:53:58 +08:00
Minghao Li 9db8804581 sync refactor 2022-03-17 15:53:28 +08:00
Minghao Li acea32ed41 sync refactor 2022-03-16 20:17:32 +08:00
Minghao Li b5b1417a8b sync append entries (sync-io) 2022-03-16 10:54:06 +08:00
Shuduo Sang 23bef711fc
Feature/sangshuduo/td 13063 3.0 windows (#10720)
* [TD-13063]<feature>: 3.0 on Windows

* add pthread in contrib

* fix linux compile

* fix osSemaphore

* add gnu regex for Windows

* fix compile error for Windows

* support arm platform

* port more OS files

* fix for Windows compile

* port more files

* fix macOS on x86_64

* port osFile

* port osSemaphone.h

* port osSocket.c

* port tconfig.c

* port ttimer.c

* add couple files
2022-03-15 21:35:04 +08:00
Minghao Li 6a3869a3bc sync refactor 2022-03-11 10:50:50 +08:00
Minghao Li 88aef2d1ab sync refactor 2022-03-10 19:21:02 +08:00
Minghao Li 73d768d273 sync refactor 2022-03-10 16:54:26 +08:00
Minghao Li 889d1339e5 sync refactor 2022-03-10 16:18:16 +08:00
Minghao Li ebeb4bb7a6 sync refactor 2022-03-10 14:34:02 +08:00
Minghao Li d083c79744 sync refactor 2022-03-09 19:13:09 +08:00
Minghao Li 3dfb9bb022 sync refactor 2022-03-09 18:56:39 +08:00
Minghao Li b55cf2bc7e add sync code 2022-02-27 02:24:50 +08:00
Minghao Li e8780cebed add sync code 2022-02-26 18:30:58 +08:00