Commit Graph

3125 Commits

Author SHA1 Message Date
Steven Li 9f834bbfc9 Merge remote-tracking branch 'origin/develop' into feature/crash_gen 2020-05-04 15:37:34 -07:00
slguan 667d1f40c3
Merge pull request #1793 from taosdata/feature/query
[td-168] fix bug in show dnodes/mnodes
2020-05-05 00:55:53 +08:00
hjxilinx e8c3aaad51 [td-168] fix bug in show dnodes/mnodes 2020-05-05 00:47:28 +08:00
slguan e71eeecfeb
Merge pull request #1792 from taosdata/feature/query
Feature/query
2020-05-05 00:21:35 +08:00
hjxilinx 37c05411a1 [td-168] fix bug in handling variable nchar string 2020-05-04 23:57:28 +08:00
hjxilinx d87cefab53 Merge branch 'feature/query' of https://github.com/taosdata/TDengine into feature/query 2020-05-04 22:33:09 +08:00
hjxilinx 9cdc251d3d [td-168] fix bug in handling the new string 2020-05-04 22:18:18 +08:00
slguan eb5e622817 scripts 2020-05-04 21:34:36 +08:00
slguan 7f550eb660 scripts 2020-05-04 21:18:24 +08:00
slguan df426f4f31 [TD-150] When sync is not initialized, cannot call dnode write 2020-05-04 16:28:18 +08:00
localvar 718c251739 fix crash 2020-05-04 15:35:12 +08:00
hjxilinx 187c7a2faa Merge branch 'develop' into feature/query 2020-05-04 14:33:46 +08:00
Steven Li f392995694 Merge remote-tracking branch 'origin/develop' into feature/crash_gen 2020-05-03 20:05:29 -07:00
slguan 0d09f6c0b6 add scripts 2020-05-04 10:50:18 +08:00
slguan f2e8fee8a5
Merge pull request #1787 from taosdata/feature/2.0tsdb
Feature/2.0tsdb
2020-05-04 10:41:38 +08:00
hzcheng 5c6cadceb4 Merge branch 'develop' into feature/2.0tsdb 2020-05-04 10:12:19 +08:00
Steven Li cc93971b67 Fixed a barrier problem, now main/worker thread sync correctly 2020-05-03 19:08:03 -07:00
slguan f0062b2772
Merge pull request #1785 from haoyifan/fix
Proper error handling in dnodeOpenVnodes / dnodeCloseVnodes
2020-05-04 10:07:00 +08:00
slguan a3dcef3a84
Merge pull request #1784 from haoyifan/develop
[Trivial] Fix initialization code of TSDB_MOD_MGMT module.
2020-05-04 10:04:30 +08:00
Steven Li 4e3ad9332a Merge remote-tracking branch 'origin/develop' into feature/crash_gen 2020-05-03 18:43:19 -07:00
slguan 168ff863bf
Merge pull request #1786 from taosdata/hotfix/rpcCache
rpc shall not check peer IP address, it shall only use FQDN
2020-05-04 09:39:05 +08:00
jtao1735 4402e599bd minor changes on UDP 2020-05-04 01:38:12 +00:00
jtao1735 a6116dfa3d delete one more line by accident 2020-05-04 01:17:42 +00:00
jtao1735 cbf3c61d4b rpc shall not check peer IP address, it shall only use FQDN 2020-05-04 01:03:59 +00:00
Steven Li 2d76c46756 Added per-thread-db-connection option, after getting Python argparse 2020-05-03 17:28:18 -07:00
Steven Li 24ad275d4b Merge remote-tracking branch 'origin/develop' into feature/crash_gen 2020-05-03 13:54:14 -07:00
yifan hao 952eec1431 Proper error handling in dnodeOpenVnodes / dnodeCloseVnodes
* Description
These two functions do not properly handle any error returned from
dnodeGetVnodeList(). This patch als changes the signature of
dnodeGetVnodeList() to make sure it returns only status, and number
of vnodes is passed out through a separate argument.

* Testing
Before the patch, if I start taosd and then remove 'vnode' folder,
the shutdown message would include the following:
05/03 14:26:17.158204 0x140025950476096 DND total vnodes:-2147483296 are
all closed

This shows the code uses error code as vnode count.

After the patch, it outputs proper error message:
05/03 14:30:45.044762 0x139933723604800 DND Get dnode list failed
2020-05-03 14:51:20 -06:00
yifan hao 9336fd3df1 Proper error handling in dnodeOpenVnodes / dnodeCloseVnodes
* Description
These two functions do not properly handle any error returned from
dnodeGetVnodeList(). This patch als changes the signature of
dnodeGetVnodeList() to make sure it returns only status, and number
of vnodes is passed out through a separate argument.

* Testing
Before the patch, if I start taosd and then remove 'vnode' folder,
the shutdown message would include the following:
05/03 14:26:17.158204 0x140025950476096 DND total vnodes:-2147483296 are
all closed

This shows the code uses error code as vnode count.

After the patch, it outputs proper error message:
05/03 14:30:45.044762 0x139933723604800 DND Get dnode list failed
2020-05-03 14:46:09 -06:00
yifan hao f041e6c25c [Trivial] Fix initialization code of TSDB_MOD_MGMT module.
* Description
This patch fixes enablement of TSDB_MOD_MGMT module, which was
incorrectly assign to 'name' variable.

* Testing
Compile the code. Feel free to suggest more testing that needs to
be done. Given that 'tsModule' is zero initialized, I don't think
there's any functional difference for this patch.
2020-05-03 13:10:35 -06:00
hjxilinx 649331b8fc [td-168] remove a print 2020-05-04 00:09:33 +08:00
slguan a2f6d85c9d add scripts 2020-05-03 23:57:11 +08:00
hjxilinx 71ea621acf [td-168] rpc cache problem 2020-05-03 23:22:33 +08:00
slguan 23303a7df8
Merge pull request #1783 from taosdata/hotfix/rpcCrash
if resposne is received, and no corresponding connection there, it sh…
2020-05-03 22:06:10 +08:00
jtao1735 2b4fb9c9de if resposne is received, and no corresponding connection there, it shall return an error 2020-05-03 13:52:25 +00:00
hzcheng 26e0475808 Fix TSDB commit invalid read error 2020-05-03 16:48:46 +08:00
Steven Li 8f6f2809d9 Merge remote-tracking branch 'origin/develop' into feature/crash_gen 2020-05-03 01:39:10 -07:00
hjxilinx 9fa4fa3030 [td-168] support the last_row query for super table, 2020-05-03 16:04:52 +08:00
hzcheng 0330730a64 Merge branch 'develop' into feature/2.0tsdb 2020-05-03 15:54:15 +08:00
hzcheng 2a7cd7ee64 Add log to TSDB 2020-05-03 15:51:59 +08:00
hjxilinx d226214f50 Merge branch 'develop' into feature/query 2020-05-03 15:08:49 +08:00
haojun Liao 89d9d62ba2
Merge pull request #1781 from taosdata/hotfix/idpool
maxId is from 1 to maxSession
2020-05-03 15:07:50 +08:00
jtao1735 0281b70740 maxId is from 1 to maxSession 2020-05-03 06:57:13 +00:00
slguan 94c801606b test scrpits 2020-05-03 13:03:40 +08:00
slguan cd6624214b [TD-150] deadlock in balance 2020-05-03 12:26:54 +08:00
slguan 19895e9b50 add valgrind for tests 2020-05-03 11:03:33 +08:00
Steven Li e98867baef Merge remote-tracking branch 'origin/develop' into feature/crash_gen 2020-05-02 19:46:50 -07:00
slguan 72552aa016
Merge pull request #1779 from taosdata/hotfix/uninitialized
initialize SCqCfg structure
2020-05-03 10:05:59 +08:00
jtao1735 2d2a784220 initialize SCqCfg structure
remove two unsed fields in tsclient.h
2020-05-03 00:13:06 +00:00
hjxilinx 1f0d27b664 [td-168] fix group by tbname error 2020-05-03 02:04:00 +08:00
hjxilinx e7338b02fb Merge branch 'develop' into feature/query 2020-05-03 00:20:13 +08:00