64 Commits

Author SHA1 Message Date
xiehan b2ebc555e9 Update SeriesWork (#149)
* add Workflow::unset_last_task()

* fix comments

Co-authored-by: XieHan <XieHan@sogou-inc.com>
2020-11-09 16:44:35 +00:00
XieHan ef67a21ae1 update MySQLResult 2020-11-03 02:42:15 +08:00
XieHan a4d89b5cf8 update tutorial 2020-11-03 02:28:47 +08:00
XieHan 49586bfc4a optimize MySQLResult 2020-11-03 02:18:01 +08:00
holmes1412 8bbb0504df fix MySQL bug about multi resultset
1. fix the way to parse ok packet and check MORE_RESULTS_EXIST in ok packet;
2. update MySQLResultCursor the way to set MYSQL_STATUS_GET_RESULT;
3. fix MySQLMessage set_ok_packet().
4. update tutorial;
2020-11-02 21:45:11 +08:00
XieHan 1d509ca01b add a forward declaration 2020-10-31 19:04:19 +08:00
holmes1412 7a0e4d3e08 Fix mysql parser bug when parsing procedure multi-resultset. 2020-10-31 18:26:24 +08:00
XieHan b6e513cb3b add some includes 2020-10-28 17:35:20 +08:00
XieHan 562de0e06a remove some ifdef 2020-10-28 17:30:35 +08:00
xiehan c7346a1236 Add WFDynamicTask (#128)
* add WFDynamicTask

Co-authored-by: XieHan <XieHan@sogou-inc.com>
2020-10-26 16:49:04 +00:00
xiehan c0f570c37e Remove ‘Route Failed’ error. Don’t check router task. (#127)
Co-authored-by: XieHan <XieHan@sogou-inc.com>
2020-10-25 10:02:53 +00:00
XieHan 1ebbda0bfe master->main 2020-10-22 01:41:26 +08:00
XieHan 9fed98067b simplify redis impl 2020-10-21 18:28:37 +08:00
XieHan 5f1cf5eb2a Make SeriesWork and ParallelWork derivable 2020-10-20 02:49:54 +08:00
XieHan c6792f1b01 remove some unused constructors 2020-10-19 18:31:50 +08:00
XieHan fa9e3dfa82 Update algorithm::SortOutput 2020-10-19 01:18:38 +08:00
XieHan 035a6fd96c add an initialization 2020-10-18 23:41:34 +08:00
liyingxin c4fe05eecd Fix EncodeStream check_merge() bug. (#107) 2020-10-17 10:08:54 +00:00
xiehan 2a3e69f5af Add WFGraphTask for simply building DAGs (#101)
* add WFGraphTask

* Update WFGraphNode

Co-authored-by: XieHan <XieHan@sogou-inc.com>
2020-10-15 16:26:33 +08:00
XieHan a1b9e63cb9 update MySQLTaskImpl 2020-10-10 18:12:36 +08:00
XieHan 2a289cf924 Make WFServerBase::wait_finish stronger. 2020-10-03 16:04:09 +08:00
XieHan 93723eaaf1 stddef.h is required by offsetof() 2020-10-01 23:58:19 +08:00
XieHan a8f3b09c00 remove a const 2020-09-30 02:18:10 +08:00
XieHan 96fe67b961 remove WFComplexClientTask::is_user_request(). 2020-09-30 00:16:53 +08:00
XieHan 302be2f7bb is_user_request() -> is_user_request_ 2020-09-30 00:07:27 +08:00
XieHan c42b17f063 update MySQLImpl to support character_set_results 2020-09-29 23:58:17 +08:00
xiehan 196b6ecec4 Update Http task implementation (#66)
* Update Http task implementation

Co-authored-by: XieHan <XieHan@sogou-inc.com>
2020-09-27 17:25:44 +08:00
xiehan 68a406f432 Change some descriptions. (#60)
* change some descriptions

Co-authored-by: XieHan <XieHan@sogou-inc.com>
2020-09-24 17:55:09 +08:00
xiehan 65473be586 Change some includes to forward declarations (#57)
* Make thrdpool stronger

* Fix some comments

* fix grammar

* change some include to forward declaration

* remove some typedef

* move codes

Co-authored-by: XieHan <XieHan@sogou-inc.com>
2020-09-18 15:08:43 +00:00
xiehan 5d014382ea Update EndpointParams.h 2020-09-17 19:29:39 +08:00
xiehan e831d9523b Allow thread task to destroy thread pool. Interesting. (#52)
* Make thrdpool stronger

* Fix some comments

* fix grammar

Co-authored-by: XieHan <XieHan@sogou-inc.com>
2020-09-16 18:21:29 +08:00
XieHan 29489e3b07 fix mysql client bug: crash when localhost is disallowed by MySQL server 2020-09-15 21:37:32 +08:00
xiehan 5f906f3132 Update msgqueue.c 2020-09-14 19:15:27 +00:00
xiehan 7a5a818e66 Add some comments (#46)
Co-authored-by: XieHan <XieHan@sogou-inc.com>
2020-09-13 16:14:52 +00:00
XieHan 78c7f8fe35 Add some comments 2020-09-13 23:54:51 +08:00
XieHan 7987298d75 Make code styles more consistent with poller. 2020-09-13 01:36:13 +08:00
XieHan 6d779ed259 Should broadcast writers when setting nonblock. 2020-09-13 00:43:29 +08:00
XieHan 3f6e20fc20 Change msgqueue's fields sequence. 2020-09-12 18:18:46 +08:00
XieHan dedcfbd726 optimize msgqueue 2020-09-12 17:56:28 +08:00
XieHan 6dc99cf30d Change poller's interface of returning result. Now we use callback. 2020-09-12 14:42:31 +08:00
XieHan 76a6fa1b7e Change poller's interface of returning result. Now we use callback. 2020-09-12 14:39:30 +08:00
XieHan cec4f69280 Change poller's interface of returning result. Now we use callback. 2020-09-12 14:35:17 +08:00
XieHan 2b36dc09cb Merge branch 'master' of https://github.com/sogou/workflow 2020-09-12 14:26:40 +08:00
XieHan f733b12ec4 Update interface in StringUtil 2020-09-12 14:26:19 +08:00
holmes1412 c01c929a15 make mysql data type more safe 2020-09-10 21:59:24 +08:00
alpc62 5f507f295a Avoid possible division by zero crash 2020-09-10 17:58:24 +08:00
alpc62 0325c8236b Fix the bug that LRUCache cannot work well when it is full 2020-09-10 17:57:42 +08:00
XieHan 1dcfd05aee Fix bug in poller. This bug may affect files aio on macOS 2020-09-04 20:03:33 +08:00
xiehan 9c7d164262 Update Communicator.cc 2020-09-01 18:20:02 +08:00
XieHan d2372b450b Add 'const' to some functions' prototypes. 2020-08-26 02:39:28 +08:00