MJY-HUST opened a new issue, #2554:
URL: https://github.com/apache/brpc/issues/2554
问题产生场景:
当一个bthread(taskmeta中的attr.keytable_pool =
null)的生命周期结束,且其拥有keytable实例时。在销毁keytable时会调用由用户创建bthread_key_create(bthread_key_t*
key, void (*destructor)(void*
data))中传入的destructor析构函数,如果destructor内部使
Superskyyy opened a new issue, #2555:
URL: https://github.com/apache/brpc/issues/2555
**Is your feature request related to a problem? (你需要的功能是否与某个问题有关?)**
Block size
现在是一个常量,如果支持动态修改的话会出现什么问题吗?使用场景是在我们的rpc里有一些是大块的5mb数据,其他rpc则是很小的。不应该公用一个blocksize。
**Describe the solution you'd like
yanglimingcn commented on PR #2551:
URL: https://github.com/apache/brpc/pull/2551#issuecomment-1974197342
> @wwbmmm 这个PR有一个点没有处理到 int TaskGroup::interrupt(bthread_t tid, TaskControl*
c) 这个函数里面在sleep_id != 0,这部分,因为无法拿到tid原来的执行上下文信息,所以没有办法得到正确的tag分组。你看这块怎么处理合适呢?
修改了一下,给bthread_interrupt