dragonwell-project / dragonwell8

Alibaba Dragonwell8 JDK
http://dragonwell-jdk.io
GNU General Public License v2.0
4.21k stars 496 forks source link

[Bug] Multi-tenant CPU throttling does not support multiple users #100

Open luchsh opened 4 years ago

luchsh commented 4 years ago

Description Multi-tenant CPU throttling feature presumes a rather simple execution environment, which only supports one user ('/cpu/ajdk_multi_tenant' directory can be owned by only one user) in the system to invoke tenant APIs. This works in Alibaba's production environment, but not friendly for other users with slightly complex configurations.

Steps to Reproduce Steps to reproduce the behavior:

  1. jgroup -g admin -u admin
  2. login with a different user than `admin, any calls to the tenant API will fail.

Expected behavior Any user may init jgroup, and use tenant APIs separately.

JDK version 8.3.3

Execution environment

luchsh commented 4 years ago

I guess I left a patch on Gitlab before leaving Alibaba, possibly in the personal organization chuansheng.lcs/, can anybody from Alibaba please help to check if the patch is still there? and do we still need such a patch?