lwkienun
8e2facbfb8
fix crash of sharedata by incref before sharedated.monitor return cobj to client.
...
crash occr analise:
1.sharedated.update call many times in a short time(eg:3 times) to change a same name conf value to a->b->c->d.
2.sharedated sending 3 response to monitoring clients。a->b and b->c and c->d.
3.if b is destroyed and it's memory is reallocated and rewrited when client process the first message a->b, client's call lbox will crash.
solution:
conf b must be keeped before message(a->b) is processed by inc it's ref.
Any return value from host to client must use incref before send to client.
2019-06-15 15:59:37 +08:00
Cloud Wu
47d1047004
sweep garbage strings
2019-06-10 15:11:51 +08:00
Cloud Wu
2bcc691c4d
add gc service
2019-06-10 15:11:51 +08:00
Cloud Wu
2ceb642b5d
rewrite SSM and clonefunction
2019-06-10 15:11:51 +08:00
hong
db61ec376a
clustersender tracetag bug
2019-05-07 10:05:06 +08:00
wudeng
35aa00fb13
Add jemalloc heap profilling in debug console
2019-05-01 20:37:48 +08:00
hong
04e2a36c4a
Update service_provider.lua
...
boot成功后的launch消息异常
2019-04-28 00:18:24 +08:00
wudeng
95cb848772
collectgarbage count change to lua 5.3
2019-04-19 19:09:05 +08:00
Cloud Wu
56d24f46d6
overflow check
2019-04-02 19:15:35 +08:00
Cloud Wu
64e0c4daff
calc variance
2019-04-02 19:15:35 +08:00
Cloud Wu
5bf635c75c
SSM expanding
2019-04-02 19:15:35 +08:00
Cloud Wu
2011596de0
fix #979
2019-04-02 17:43:24 +08:00
Cloud Wu
062f767bbf
fix #967
2019-03-26 23:45:33 +08:00
Cloud Wu
7cb4bbb960
Merge branch 'cluster'
2019-03-26 09:46:57 +08:00
Cloud Wu
ea1affda4c
fix #962
2019-03-25 09:42:53 +08:00
Cloud Wu
1c3b563ef8
add wait queue
2019-03-20 19:44:08 +08:00
Cloud Wu
000fa2be3a
multi cluster sender
2019-03-20 17:56:39 +08:00
Cloud Wu
1d4308f33a
Fix memory leak, See #952
2019-03-06 00:19:51 +08:00
Cloud Wu
34a9979255
check launching address
2018-09-13 18:59:03 +08:00
Cloud Wu
89e7a06deb
add more info when service init blocked
2018-09-13 18:27:05 +08:00
Cloud Wu
c839159470
remove netpack from gate service
2018-09-12 11:45:41 +08:00
Cloud Wu
61980c8a1f
add socket.netstat
2018-09-07 16:11:27 +08:00
Cloud Wu
c96e20e6c3
add skynet.context and enhance debug console command service
2018-09-06 18:59:33 +08:00
Cloud Wu
c72d4d2134
support string address name, see #883
2018-08-28 15:15:38 +08:00
btt
18a36c171f
debug console inject cmd support args
2018-08-23 17:02:06 +08:00
Cloud Wu
143baec319
remove duplicate code
2018-08-13 14:12:15 +08:00
fanyh
168a07d658
sleep time 1s-> 1m, sleep 1s prodcut more message
2018-08-09 19:28:59 +08:00
Cloud Wu
ec2eaa70a4
Merge branch 'master' of https://github.com/cloudwu/skynet
2018-08-03 11:29:12 +08:00
Cloud Wu
d402619347
see #870
2018-08-03 11:28:18 +08:00
Cloud Wu
c101d9df17
see #870
2018-08-03 11:24:14 +08:00
hong
b5653a68ea
runnging拼写错误
2018-08-02 21:30:03 +08:00
hong
c9942deaa9
queryname并发导致消息乱序
...
当有1个以上的co进入queryname,后面的协程有在第1个以后某个的co先执行(第一个已经返回),导致cluster消息乱序
2018-08-02 21:30:03 +08:00
Cloud Wu
3a1556e1fd
add new debug command trace
2018-06-08 11:24:27 +08:00
Cloud Wu
e8e38f1682
add session log
2018-05-28 18:16:31 +08:00
Cloud Wu
35b4a09c3d
unique cluster trace tag
2018-05-28 18:09:34 +08:00
Cloud Wu
9035fbe96b
cluster trace
2018-05-28 16:39:04 +08:00
Cloud Wu
a41a5fadd2
ignore ret in clientagent
2018-05-28 11:24:55 +08:00
Cloud Wu
85ec428f3f
remove assert
2018-05-22 20:04:05 +08:00
Cloud Wu
a8ab809928
add __nowating flag to cluster config, see issue #803
2018-05-22 19:49:07 +08:00
Cloud Wu
182d7c7dc7
support @name, see #823
2018-04-20 10:11:16 +08:00
Cloud Wu
f4d5bc7aa4
forward fd to agent
2018-04-18 19:32:15 +08:00
Cloud Wu
4cbe33d15d
remove unused sz
2018-04-17 10:47:41 +08:00
Cloud Wu
eb8a2b5e65
Improve cluster package module
2018-04-17 10:47:41 +08:00
Cloud Wu
7304a990cb
use clusteragent to dispatch cluster request
2018-04-17 10:47:41 +08:00
Cloud Wu
1932d33b41
set node = false when node is down, see #803
2018-02-24 21:26:24 +08:00
Cloud Wu
b792c7144d
clusterd wait for cluster.reload when the name no exist
2018-01-04 14:18:29 +08:00
Cloud Wu
b51e28a3e0
set nodelay, see issue #763
2017-11-14 18:01:08 +08:00
Cloud Wu
57f08426ee
concurrent cluster link, fix issue #757
2017-11-02 22:31:54 +08:00
Cloud Wu
c4c429b699
fix #747
2017-10-18 09:51:22 +08:00
Cloud Wu
55136b77ad
fix issue #741
2017-09-25 15:10:21 +08:00