Commit Graph

111 Commits

Author SHA1 Message Date
xsren 9457d3a269 fix: build failed on linux 2024-02-05 16:07:40 +08:00
xsren f825089488 fix: file not exist on windows 2024-02-05 11:32:34 +08:00
Haojun Liao 4c119c7626 fix(os): fix error on windows. 2024-01-16 10:44:59 +08:00
Yihao Deng 8d24a34015 add hard link 2024-01-15 07:46:30 +00:00
factosea d368956e3f fix timezone range 2023-12-04 11:41:47 +08:00
wangmm0220 55a4181e5e fix:add O_CLOEXEC for .running lock file to prevent inherited by child processes(rsync) 2023-11-23 20:16:54 +08:00
facetosea 845493294d osfile 2023-11-21 16:31:31 +08:00
kailixu 42c83d8f87 fix: unlock before return 2023-09-21 13:10:27 +08:00
kailixu a19cfcd587 chore: code optimization for file 2023-09-20 17:33:31 +08:00
kailixu 0800698774 fix: typo of ol 2023-09-20 16:28:36 +08:00
kailixu 3bb5a5f1d4 enh: lock and file adaption for windows 2023-09-20 15:40:39 +08:00
kailixu 97c87bdbdc enh: mutex/rwlock/pread/pwrite adaption for windows 2023-09-20 15:35:38 +08:00
wade zhang 86c990d33d
Merge pull request #22868 from taosdata/fix/xsren/TS-3957/readLineOnWindows
free old pointer as realloc failed.
2023-09-12 18:52:18 +08:00
xsren 51359ad99d free old pointer as realloc failed. 2023-09-12 18:24:50 +08:00
wade zhang e832908589
Merge pull request #22858 from taosdata/fix/xsren/TS-3957/readLineOnWindows
fix read line on windows
2023-09-12 18:15:07 +08:00
wade zhang b2e9578de9
Merge pull request #22853 from taosdata/fix/TD-26139/fileHandlesLimitOnWindows
reset file handles limit on windows
2023-09-12 18:14:40 +08:00
xsren e5120fade2 fix read line on windows 2023-09-12 14:12:21 +08:00
kailixu 2f9ab38fd0 fix: set stack size to 8 MB for windows and dup fd for gzdopen 2023-09-12 13:33:12 +08:00
xsren a003db7e1a reset file handles limit on windows 2023-09-12 10:44:11 +08:00
wade zhang f00efbdf11
Merge pull request #22695 from taosdata/fix/xsren/renamefile_on_windows
atomic rename file on windows
2023-09-06 10:55:32 +08:00
xsren 549ee9f2e0 atomic rename file on windows 2023-09-01 16:37:51 +08:00
dapan1121 1f40da6fef Merge remote-tracking branch 'origin/main' into 3.0 2023-08-28 09:28:55 +08:00
shenglian zhou 250a8a7c39 fix: taosCompressFile mem leak 2023-08-25 10:06:59 +08:00
Minglei Jin 0c768f5beb fix(file/stat): fix atime 2023-08-24 14:02:25 +08:00
Minglei Jin fac7e521e9 s3/evict: fetch atime from stat file 2023-08-07 15:59:37 +08:00
Alex Duan 97a5ebac1c fix: miss out _fstat64 2023-04-25 17:10:12 +08:00
Alex Duan ee93500619 fix: log file size over 4G report error on windows 2023-04-25 17:03:58 +08:00
Hui Li 965d91572a
Merge pull request #20148 from taosdata/fix/3_coverity
fix(query): fix syntax errors on centos.
2023-02-24 17:39:12 +08:00
xinsheng Ren e3f21ae98f
fix: TD-22674 coverity scan (#20126)
* fix: TD-22674 coverity scan

* fix: compile error

---------

Co-authored-by: facetosea <25808407@qq.com>
2023-02-24 15:17:14 +08:00
Haojun Liao 22aa03307c fix(query): fix syntax errors on centos. 2023-02-24 11:38:54 +08:00
Xiaoyu Wang 3382a24a69 merge main 2023-02-10 18:03:11 +08:00
Ganlin Zhao 3b03341de4 fix: setting logKeepDays to -1 result in old log files not compressed and
empty.
2023-02-07 18:15:55 +08:00
facetosea 61734b9c6a fix:Deadlock caused by assert modification 2023-01-06 10:43:47 +08:00
Minglei Jin 4e1f5b2979 fix(meta): cleanup coverity scan issues 2023-01-05 14:04:21 +08:00
xinsheng Ren 936f282eab
TD-21220 fix assert (#19363)
* TD-21220 fix assert

* fix/compile failed

* fix/taosEOFFile exception return

Co-authored-by: facetosea <25808407@qq.com>
2023-01-05 09:20:14 +08:00
xinsheng Ren 047aae9caf
Enh/xsren/td 21652/win file lock base main (#19317)
* add os subtest (#19304)

* add os subtest

* fix/test.cpp include header file

Co-authored-by: facetosea <25808407@qq.com>

* TD-21652 win file lock

* fix/ostest:exception on mac

Co-authored-by: facetosea <25808407@qq.com>
2023-01-04 08:59:29 +08:00
Haojun Liao f93abddc88 fix(utility): fix the bug in creating auto delete files. 2023-01-03 11:16:49 +08:00
Shengliang Guan 12088812dd fix: should not fsync in log level is error 2022-12-16 15:54:19 +08:00
Shengliang Guan 7553cd6e65 fix: compile errors 2022-12-07 22:28:12 +08:00
Shengliang Guan 6d94afe48f
Revert "refact: adjust some assert cases" 2022-12-07 21:51:17 +08:00
Shengliang Guan 6ef608f7af fix: complie error 2022-12-07 19:02:43 +08:00
Minglei Jin 7a7d7f7d00 tdb/write: new tdbPWriteFile api for commit and prep async to maindb 2022-11-28 17:31:11 +08:00
Haojun Liao 9a208b2d09 other: merge 3.0 2022-11-24 17:08:15 +08:00
Alex Duan 36e1deb0de fix(shell): output redirect to file need not call fflush 2022-11-23 10:43:56 +08:00
Haojun Liao b83f895726 refactor: do some internal refactor. 2022-11-11 14:16:13 +08:00
Alex Duan 97e70e8f27 fix(all): coverity scan problem fixed 2022-10-24 18:41:39 +08:00
Alex Duan 39c800da80 fix(all): fixed coverity scan problems for second submiting 2022-10-22 15:41:37 +08:00
Hongze Cheng 1779c17375 more code 2022-10-18 16:22:06 +08:00
Hongze Cheng fcbaa6082b more code refact 2022-10-13 11:49:46 +08:00
afwerar bdf0a41b39 os: fix Mac access error 2022-08-26 14:52:17 +08:00