夏润泽
2018-12-02 14:53:48 UTC
Hello
I want to try to fix the concurrency issue of the role strategy
plugin. How should I achieve this step?
https://issues.jenkins-ci.org/browse/JENKINS-54900
I think this part of the work mainly needs to achieve the following
two goals.
1.Requests for add/delete/modify API calls need to ensure thread
security
2.Jenkins will perform the authentication of the system by obtaining
the ACL. Therefore, it should be ensured that the role can be read while
the role is being modified to ensure that the performance of the system is
not reduced.
My initial idea is
1. to replace some data structures to ensure that reading and writing
can be done simultaneously.
2. The API that writes to the grantedRoles object of
RoleBasedAuthorizationStrategy needs to be synchronized.
I want to try to fix the concurrency issue of the role strategy
plugin. How should I achieve this step?
https://issues.jenkins-ci.org/browse/JENKINS-54900
I think this part of the work mainly needs to achieve the following
two goals.
1.Requests for add/delete/modify API calls need to ensure thread
security
2.Jenkins will perform the authentication of the system by obtaining
the ACL. Therefore, it should be ensured that the role can be read while
the role is being modified to ensure that the performance of the system is
not reduced.
My initial idea is
1. to replace some data structures to ensure that reading and writing
can be done simultaneously.
2. The API that writes to the grantedRoles object of
RoleBasedAuthorizationStrategy needs to be synchronized.
--
You received this message because you are subscribed to the Google Groups "Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-dev+***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/25f06039-03f3-4b86-908d-6dcd8af0fde0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-dev+***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/25f06039-03f3-4b86-908d-6dcd8af0fde0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.