Token expiry query

Symptoms

The expired token generated by the proxy user didn’t cleaned by TokenCleaner program.

Error Messages

Sample error messages in code block

Cause

The expired token generated by the proxy user didn’t be cleaned by TokenCleaner program, but the expired token generated by the local user can be cleaned up when the TokenCleaner program is triggered.

NOTE

After setting the GSQL.TokenCleaner.IntervalTimeSec=300, the TokenCleaner program will be triggered once a time every 5 mins. And then generate a token for the proxy user and local user with lifetime=120. The expired token generated by the proxy user didn’t be cleaned by TokenCleaner program, but the expired token generated by the local user can be cleaned up when the TokenCleaner program is triggered.

token_expiry_query_1
token_expiry_query_2

Resolution

It is still a bug now and will be solved in version 3.8.0.