You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shenyu.apache.org by "wen823426883 (via GitHub)" <gi...@apache.org> on 2023/09/11 08:20:24 UTC

[GitHub] [shenyu] wen823426883 opened a new issue, #5140: have a cache bug

wen823426883 opened a new issue, #5140:
URL: https://github.com/apache/shenyu/issues/5140

   ### Is there an existing issue for this?
   
   - [X] I have searched the existing issues
   
   ### Current Behavior
   
   url: POST http://localhost:9195/spring-cloud-alibaba-dubbo/insert
   first request params: {
     "id": "123",
     "namekk": "test",
     "ds": "dsd"
   }
   result:{"name":"hello world shenyu Apache Dubbo: null","id":"123"}
   
   second request params:{
     "id": "123",
     "name": "test",
     "ds": "dsd"
   }
   result:{"name":"hello world shenyu Apache Dubbo: null","id":"123"}
   
   cache selector:
   ![image](https://github.com/apache/shenyu/assets/18477634/c0265447-77f6-4b4c-b24f-56a13dbbf092)
   
   cache rules:
   ![image](https://github.com/apache/shenyu/assets/18477634/7ec5e72e-b9cb-4a7a-917d-e688ddb25ecc)
   
   first request:
   
   2023-09-11 16:00:53 [kafka-producer-network-thread | producer-1] INFO  org.apache.kafka.clients.NetworkClient - [Producer clientId=producer-1] Node 2 disconnected.
   2023-09-11 16:09:15 [shenyu-netty-nio-3] INFO  org.apache.shenyu.plugin.base.AbstractShenyuPlugin - cache selector match success from default strategy
   2023-09-11 16:09:15 [shenyu-netty-nio-3] INFO  org.apache.shenyu.plugin.base.AbstractShenyuPlugin - cache selector success match , selector name :http/order/findById
   2023-09-11 16:09:15 [shenyu-netty-nio-3] INFO  org.apache.shenyu.plugin.base.AbstractShenyuPlugin - cache rule success match , rule name :http/order/findById
   2023-09-11 16:09:15 [lettuce-nioEventLoop-13-1] INFO  org.apache.shenyu.plugin.base.AbstractShenyuPlugin - rateLimiter selector match success from default strategy
   2023-09-11 16:09:15 [lettuce-nioEventLoop-13-1] INFO  org.apache.shenyu.plugin.base.AbstractShenyuPlugin - rateLimiter selector success match , selector name :/http
   2023-09-11 16:09:15 [lettuce-nioEventLoop-13-1] INFO  org.apache.shenyu.plugin.base.AbstractShenyuPlugin - rateLimiter rule success match , rule name :/http
   2023-09-11 16:09:15 [lettuce-nioEventLoop-14-1] INFO  org.apache.shenyu.plugin.base.AbstractShenyuPlugin - loggingConsole selector match success from default strategy
   2023-09-11 16:09:15 [lettuce-nioEventLoop-14-1] INFO  org.apache.shenyu.plugin.base.AbstractShenyuPlugin - loggingConsole selector success match , selector name :/http
   2023-09-11 16:09:15 [lettuce-nioEventLoop-14-1] INFO  org.apache.shenyu.plugin.base.AbstractShenyuPlugin - loggingConsole rule success match , rule name :/http
   2023-09-11 16:09:15 [lettuce-nioEventLoop-14-1] INFO  org.apache.shenyu.plugin.base.AbstractShenyuPlugin - loggingKafka selector match success from default strategy
   2023-09-11 16:09:15 [lettuce-nioEventLoop-14-1] INFO  org.apache.shenyu.plugin.base.AbstractShenyuPlugin - loggingKafka selector success match , selector name :/http
   2023-09-11 16:09:15 [lettuce-nioEventLoop-14-1] INFO  org.apache.shenyu.plugin.base.AbstractShenyuPlugin - loggingKafka rule success match , rule name :/http
   2023-09-11 16:09:15 [shenyu-netty-nio-3] INFO  org.apache.shenyu.plugin.base.AbstractShenyuPlugin - dubbo selector match success from default strategy
   2023-09-11 16:09:15 [shenyu-netty-nio-3] INFO  org.apache.shenyu.plugin.base.AbstractShenyuPlugin - dubbo selector success match , selector name :/spring-cloud-alibaba-dubbo
   2023-09-11 16:09:15 [shenyu-netty-nio-3] INFO  org.apache.shenyu.plugin.base.AbstractShenyuPlugin - dubbo rule success match , rule name :/spring-cloud-alibaba-dubbo/insert
   2023-09-11 16:09:15 [NettyClientWorker-15-7] INFO  org.apache.shenyu.plugin.logging.console.LoggingConsolePlugin - 
   Request Uri: http://localhost/spring-cloud-alibaba-dubbo/insert
   Request Method: POST
   
   [Request Headers Start]
   HOST: localhost
   Connection: close
   Content-Length: 52
   Accept: application/json
   Content-Type: application/json
   User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.7)
   Accept-Encoding: br,deflate,gzip,x-gzip
   [Request Headers End]
   
   
   
   [Request Body Start]
   {
     "id": "123",
     "namekk": "test",
     "ds": "dsd"
   }
   [Request Body End]
   
   Response Code: 200 OK
   
   [Response Headers Start]
   transfer-encoding: chunked
   Content-Type: application/json
   [Response Headers End]
   
   [Response Body Start]
   {"name":"hello world shenyu Apache Dubbo: null","id":"123"}
   [Response Body End]
   
   second request:
   2023-09-11 16:09:48 [shenyu-netty-nio-4] INFO  org.apache.shenyu.plugin.base.AbstractShenyuPlugin - cache selector match success from default strategy
   2023-09-11 16:09:48 [shenyu-netty-nio-4] INFO  org.apache.shenyu.plugin.base.AbstractShenyuPlugin - cache selector success match , selector name :http/order/findById
   2023-09-11 16:09:48 [shenyu-netty-nio-4] INFO  org.apache.shenyu.plugin.base.AbstractShenyuPlugin - cache rule success match , rule name :http/order/findById
   2023-09-11 16:09:55 [shenyu-netty-nio-5] INFO  org.apache.shenyu.plugin.base.AbstractShenyuPlugin - cache selector match success from default strategy
   2023-09-11 16:09:55 [shenyu-netty-nio-5] INFO  org.apache.shenyu.plugin.base.AbstractShenyuPlugin - cache selector success match , selector name :http/order/findById
   2023-09-11 16:09:55 [shenyu-netty-nio-5] INFO  org.apache.shenyu.plugin.base.AbstractShenyuPlugin - cache rule success match , rule name :http/order/findById
   
   
   ### Expected Behavior
   
   {"name":"hello world shenyu Apache Dubbo: test","id":"123"}
   
   ### Steps To Reproduce
   
   _No response_
   
   ### Environment
   
   ```markdown
   ShenYu version(s):2.6.1-SNAPSHOT
   ```
   
   
   ### Debug logs
   
   _No response_
   
   ### Anything else?
   
   _No response_


-- 
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-unsubscribe@shenyu.apache.org.apache.org

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


Re: [I] have a cache bug [shenyu]

Posted by "moremind (via GitHub)" <gi...@apache.org>.
moremind closed issue #5140: have a cache bug
URL: https://github.com/apache/shenyu/issues/5140


-- 
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-unsubscribe@shenyu.apache.org

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


[GitHub] [shenyu] wen823426883 commented on issue #5140: have a cache bug

Posted by "wen823426883 (via GitHub)" <gi...@apache.org>.
wen823426883 commented on issue #5140:
URL: https://github.com/apache/shenyu/issues/5140#issuecomment-1713410857

   ![image](https://github.com/apache/shenyu/assets/18477634/430233e8-963d-4f12-84cf-cb0bed035af1)
   modify type custom can work


-- 
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-unsubscribe@shenyu.apache.org

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


[GitHub] [shenyu] moremind commented on issue #5140: have a cache bug

Posted by "moremind (via GitHub)" <gi...@apache.org>.
moremind commented on issue #5140:
URL: https://github.com/apache/shenyu/issues/5140#issuecomment-1713461785

   full means full flow, you should use custome


-- 
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-unsubscribe@shenyu.apache.org

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