tiancaiamao
3ff51fb7e9
store/tikv: fix a potential goroutine leak problem in copIterator ( #6140 )
...
copIterator.Close() closes finished channel and wait for worker goroutines to
exit, worker goroutine send response to channel but nobody receive from the
channel (copIterator already closed), so those goroutine leak and Close() function
hang forever.
Change the worker goroutine to check both response channel and finished channel.
2018-03-26 02:48:29 -05:00
..
2018-03-22 21:34:52 +08:00
2018-03-23 15:42:29 +08:00
2018-03-15 18:04:35 +08:00
2018-03-23 13:44:24 +08:00
2018-03-22 17:16:51 +08:00
2018-03-15 10:52:36 +08:00
2018-03-20 20:46:43 +08:00
2018-03-20 20:46:43 +08:00
2018-02-24 03:40:56 -06:00
2018-03-13 21:05:10 +08:00
2018-03-12 14:58:19 +08:00
2018-03-13 21:05:10 +08:00
2018-03-20 12:55:12 +08:00
2018-03-12 17:43:04 +08:00
2018-03-26 02:48:29 -05:00
2018-03-22 21:34:52 +08:00
2018-03-11 10:31:18 +08:00
2017-09-12 01:02:41 -05:00
2018-03-11 12:28:40 +08:00
2018-03-12 20:11:18 +08:00
2018-03-16 13:27:47 +08:00
2018-03-20 09:06:11 -05:00
2018-03-20 10:44:07 +08:00
2018-03-22 21:34:52 +08:00
2018-03-09 21:19:24 +08:00
2018-03-20 12:37:40 +08:00
2018-02-22 18:03:38 +08:00
2018-03-20 10:44:07 +08:00
2018-03-13 21:05:10 +08:00
2018-03-17 08:45:34 +08:00
2017-09-12 01:02:41 -05:00
2018-03-16 09:31:37 +08:00
2018-03-15 16:35:58 +08:00
2018-02-24 03:40:56 -06:00
2018-03-16 22:33:27 +08:00
2018-03-20 09:06:11 -05:00
2018-03-23 13:44:24 +08:00
2018-03-20 09:06:11 -05:00
2018-03-12 17:43:04 +08:00
2018-03-20 09:06:11 -05:00
2018-03-16 09:20:09 +08:00
2018-03-20 12:37:40 +08:00
2018-02-08 15:55:52 +08:00
2018-03-23 10:13:23 +08:00
2018-03-22 21:34:52 +08:00
2018-03-15 16:35:58 +08:00
2018-03-18 21:10:51 +08:00