Commit Graph

3052 Commits

Author SHA1 Message Date
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
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
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
slguan a2f6d85c9d add scripts 2020-05-03 23:57:11 +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
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
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
slguan baaa1ecf74
Merge pull request #1777 from taosdata/feature/cluster
Feature/cluster
2020-05-02 23:51:15 +08:00
slguan 625deb0194
Merge pull request #1778 from taosdata/feature/2.0tsdb
Feature/2.0tsdb
2020-05-02 23:50:50 +08:00
hzcheng c1e8581d42 Fix decompress bug 2020-05-02 15:46:13 +00:00
slguan 69dbb70ae8 [TD-150] Let mnode changes be processed in a status message 2020-05-02 23:12:51 +08:00
hzcheng f99074c01c fix a little bug 2020-05-02 22:05:12 +08:00
slguan 099ffbd0bf [TD-184] add db replica alter scripts 2020-05-02 20:53:00 +08:00
slguan 2f011a423b tables only store the uid of the super table instead of the name 2020-05-02 19:12:56 +08:00
slguan 482b5865a2 Merge branch 'develop' of https://github.com/taosdata/TDengine into develop 2020-05-02 15:39:32 +08:00
slguan c3a19c9d66 should not send msg while sdb restore 2020-05-02 15:39:10 +08:00
slguan f10038afa1
Merge pull request #1776 from taosdata/feature/2.0tsdb
fix maxTables problem
2020-05-02 15:38:42 +08:00
hzcheng 504860d14c fix maxTables problem 2020-05-02 15:33:47 +08:00
slguan 294f8d0a6c
Merge pull request #1775 from taosdata/feature/stream
Feature/stream
2020-05-02 14:56:10 +08:00
slguan 6ff5f373e2 add some log for sdb 2020-05-02 13:05:56 +08:00
slguan 249f54b1e4 Merge branches 'develop' and 'develop' of https://github.com/taosdata/TDengine into develop 2020-05-02 11:06:16 +08:00
slguan bf9d1274a5 [TD-184] fix bug while drop dnode 2020-05-02 11:06:04 +08:00
jtao1735 27fab2cfe6 pass the unit testing 2020-05-02 02:36:46 +00:00
jtao1735 cdcb0daa8a first draft 2020-05-02 00:19:49 +00:00
slguan df8d4a33ff
Merge pull request #1774 from taosdata/feature/2.0tsdb
TD-166
2020-05-01 23:51:43 +08:00
hzcheng 5ac8522d66 TD-166 2020-05-01 23:06:59 +08:00
slguan 0cce9bea01
Merge pull request #1771 from taosdata/hotfix/fix-issues-scanned-by-tsc
Hotfix/fix issues scanned by tsc
2020-05-01 21:26:09 +08:00
slguan 3881362800
Merge pull request #1772 from taosdata/hotfix/fix-test-py-to-support-stevens-simpletest
fix test.py to support steven's simpletest_no_sudo.sh
2020-05-01 21:25:42 +08:00
Shuduo Sang 4191754f24 fix test.py to support steven's case 2020-05-01 18:15:38 +08:00
slguan 1262b443eb
Merge pull request #1769 from taosdata/hotfix/fix-test-script-grep-issue
fix test script grep to match accuretely.
2020-05-01 17:22:08 +08:00
Shuduo Sang d927985e58 fix test script grep to match accuretely. 2020-05-01 16:53:53 +08:00
Shuduo Sang 5068bd12a0 Merge branch 'develop' into hotfix/fix-issues-scanned-by-tsc 2020-05-01 16:34:04 +08:00
Shuduo Sang 1317dbc53b fix part of issues reported by TScanCode.
[TD-217]
2020-05-01 16:33:06 +08:00
slguan 5e425abfc7 Merge branch 'develop' of https://github.com/taosdata/TDengine into develop 2020-05-01 15:59:27 +08:00
slguan 252b8b997c add scripts 2020-05-01 15:58:58 +08:00
slguan 4b2cbd60b2
Merge pull request #1768 from taosdata/feature/2.0tsdb
TD-166
2020-05-01 15:58:00 +08:00
hzcheng 97010fd7a7 TD-166 2020-05-01 15:46:11 +08:00
slguan 8123896b7a change scripts 2020-05-01 15:22:27 +08:00
jtao1735 11353abc18 draft 2020-05-01 07:05:11 +00:00
slguan 222f78a757
Merge pull request #1767 from taosdata/hotfix/rpcSid
if not master, authentication shall return NOT_READY, so client can m…
2020-05-01 14:29:46 +08:00