Firstsawyou commented on issue #3108:
URL: https://github.com/apache/apisix/issues/3108#issuecomment-751308388


   > how is the bug?and need test cases to cover
   
   In version 1.5, the ctx.conf_version generated by different `workers` is 
different, which leads to this bug. 
   Example:
   
   ```
   limit key: 127.0.0.1route5#1608888724.263, 
   ctx.conf_version: 5#1608888724.263, 
   ngx_worker_pid: : 1813851, 
   
   limit key: 127.0.0.1route5#1608888720.766, 
   ctx.conf_version: 5#1608888720.766,
   ngx_worker_pid: : 1813850,
   ```
   
   In version 2.0, the generated ctx.conf_version between different `workers` 
is the same. 
   Example:
   
   ```
   limit key-xxx: 1route&service&consumer7570&7560&2, 
   ctx.conf_version: 7570&7560&2,
   worker_pid: 477490,
   
   limit key: 1route&service&consumer7570&7560&2,
   ctx.conf_version: 7570&7560&2,
   worker_pid: 477489,
   ```
   
   Yes, I will submit related test cases for coverage later.


----------------------------------------------------------------
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.

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


Reply via email to