Environment
- Dubbo version: 2.7.0-SNAPSHOT
- Operating System version: mac os
- Java version: 1.8
Step to reproduce this issue
- Export a service
- Make cluster = "forking"
- Set Attachment in RpcContext
- Do rpc invoke
Expected Result
The attachment in RpcContext has element.
Actual Result
The attachment in RpcContext don't have element.
The problem
I set attachment in the consumer side like this:

Then do rpc invoke,but the attachment is missing, (AbstractInvoker#invoke):

The problem is that ForkingClusterInvoker use threapool to do rpc invoke which will miss the threadlocal:

Environment
Step to reproduce this issue
Expected Result
The attachment in RpcContext has element.
Actual Result
The attachment in RpcContext don't have element.
The problem
I set attachment in the consumer side like this:

Then do rpc invoke,but the attachment is missing, (AbstractInvoker#invoke):

The problem is that ForkingClusterInvoker use threapool to do rpc invoke which will miss the threadlocal:
