robocanic commented on issue #855:
URL: https://github.com/apache/dubbo-samples/issues/855#issuecomment-1697035358

   再次在dubbo admin中修改timeout为3000:
   
![image](https://github.com/apache/dubbo-samples/assets/79916872/a4360cd4-47ee-4033-a3a8-79ee9ff5d596)
   
   对应的shop-user的日志如下:
   ```shell
   2023-08-29T08:49:35.824Z INFO 1 --- [stem.svc-105273] 
com.alibaba.nacos.common.remote.client : 
[64b0be3f-b73b-4f36-963c-c46308b23ece_config-0] Receive server push request, 
request = ConfigChangeNotifyRequest, requestId = 524
   2023-08-29T08:49:35.824Z INFO 1 --- [stem.svc-105273] 
c.a.n.client.config.impl.ClientWorker : 
[64b0be3f-b73b-4f36-963c-c46308b23ece_config-0] [server-push] config changed. 
dataId=org.apache.dubbo.samples.UserService::.configurators, 
group=dubbo,tenant=null
   2023-08-29T08:49:35.824Z INFO 1 --- [stem.svc-105273] 
com.alibaba.nacos.common.remote.client : 
[64b0be3f-b73b-4f36-963c-c46308b23ece_config-0] Ack server push request, 
request = ConfigChangeNotifyRequest, requestId = 524
   2023-08-29T08:49:35.831Z INFO 1 --- [s.client.Worker] 
c.a.n.client.config.impl.ClientWorker : [fixed-nacos.dubbo-system.svc_8848] 
[data-received] dataId=org.apache.dubbo.samples.UserService::.configurators, 
group=dubbo, tenant=, md5=3bfbf45f6eeb879febdbfd1a04f049b3, 
content=configVersion: v3.0
   configs:
   - addresses:
   - 0.0.0.0
   enabled: false
   parameters:
   timeout: 30..., type=text
   2023-08-29T08:49:35.832Z INFO 1 --- [s.client.Worker] 
c.a.nacos.client.config.impl.CacheData : [fixed-nacos.dubbo-system.svc_8848] 
[notify-listener] time cost=1ms in ClientWorker, 
dataId=org.apache.dubbo.samples.UserService::.configurators, group=dubbo, 
md5=3bfbf45f6eeb879febdbfd1a04f049b3, 
listener=org.apache.dubbo.configcenter.support.nacos.NacosDynamicConfiguration$NacosConfigListener@37c073a7
   2023-08-29T08:49:35.832Z INFO 1 --- [ternal.notifier] 
c.a.nacos.client.config.impl.CacheData : [fixed-nacos.dubbo-system.svc_8848] 
[notify-context] dataId=org.apache.dubbo.samples.UserService::.configurators, 
group=dubbo, md5=3bfbf45f6eeb879febdbfd1a04f049b3
   2023-08-29T08:49:35.832Z INFO 1 --- [ternal.notifier] 
o.a.d.r.i.AbstractConfiguratorListener : [DUBBO] Notification of overriding 
rule, change type is: MODIFIED, raw config content is:
   configVersion: v3.0
   configs:
   - addresses:
   - 0.0.0.0
   enabled: false
   parameters:
   timeout: 3000
   side: provider
   enabled: true
   key: org.apache.dubbo.samples.UserService
   scope: service
   , dubbo version: 3.2.0-beta.5-SNAPSHOT, current host: 10.255.91.36
   2023-08-29T08:49:35.835Z INFO 1 --- [ternal.notifier] 
o.a.d.r.i.AbstractConfiguratorListener : [DUBBO] Notification of overriding 
rule, change type is: MODIFIED, raw config content is:
   configVersion: v3.0
   configs:
   - addresses:
   - 0.0.0.0
   enabled: false
   parameters:
   timeout: 3000
   side: provider
   enabled: true
   key: org.apache.dubbo.samples.UserService
   scope: service
   , dubbo version: 3.2.0-beta.5-SNAPSHOT, current host: 10.255.91.36
   2023-08-29T08:49:35.836Z INFO 1 --- [ternal.notifier] 
c.a.nacos.client.config.impl.CacheData : [fixed-nacos.dubbo-system.svc_8848] 
[notify-ok] dataId=org.apache.dubbo.samples.UserService::.configurators, 
group=dubbo, md5=3bfbf45f6eeb879febdbfd1a04f049b3, 
listener=org.apache.dubbo.configcenter.support.nacos.NacosDynamicConfiguration$NacosConfigListener@37c073a7
 ,cost=4 millis.
   ```
   然后再次在前端点击timeout login,查看shop-user的日志如下,timeout还是没有变:
   ```shell
   2023-08-29T08:52:26.007Z WARN 1 --- [0884-thread-199] 
o.a.d.rpc.filter.ProfilerServerFilter : [DUBBO] [Dubbo-Provider] execute 
service org.apache.dubbo.samples.UserService:0.0.0#timeoutLogin cost 
1100.650112 ms, this invocation almost (maybe already) timeout. Timeout: 1000ms
   client: 10.255.91.24:33198
   invocation context:
   input=669;
   path=org.apache.dubbo.samples.UserService;
   remote.application=shop-frontend;
   sw8-x=0- ;
   
sw8=1-ZWZhYzEwZDZjYWRlNDNjYWI2M2QzMDU5NDViMGRjMGQuMTA5LjE2OTMyOTkxNDQ5MDMwMDYz-ZWZhYzEwZDZjYWRlNDNjYWI2M2QzMDU5NDViMGRjMGQuMTA5LjE2OTMyOTkxNDQ5MDMwMDYy-1-c2hvcDo6c2hvcC1mcm9udGVuZA==-NTUwMTYzNmQwOWQzNGI5MTk3OWE4M2QxMjE3MzljMzRAMTAuMjU1LjkxLjI0-R0VUOi90aW1lb3V0TG9naW4=-MTAuMjU1LjkxLjI0OjA=;
   dubbo=2.0.2;
   sw8-correlation=;
   interface=org.apache.dubbo.samples.UserService;
   version=0.0.0;
   timeout=1000;
   token=1be8c126-8fe3-47e2-87f6-5108654ea23e;
   thread info:
   Start time: 16695110105605411
   +-[ Offset: 0.000000ms; Usage: 1100.650112ms, 100% ] Receive request. Server 
invoke begin.
   +-[ Offset: 0.326706ms; Usage: 1100.137247ms, 99% ] Receive request. Server 
biz impl invoke begin., dubbo version: 3.2.0-beta.5-SNAPSHOT, current host: 
10.255.91.36, error code: 3-7. This may be caused by , go to 
https://dubbo.apache.org/faq/3/7 to find instructions.
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@dubbo.apache.org
For additional commands, e-mail: notifications-h...@dubbo.apache.org

Reply via email to