Dear all,
there is a bug in lin_tokens.cpp (client: 2.4.11.0),
this part of the code:
if( (mode & igrp) == igrp) {
int64 tid = read_token_lazy_cache(cache, dao, false, uid);
should be:
if( (mode & igrp) == igrp) {
int64 tid = read_token_lazy_cache(cache, dao, false, gid);
i.e., the last argument in read_token_lazy_cache is incorrect.
The bug triggers the following false error report in the log:
“Error getting internal id for group with id XXX”
This happens especially when there is a larger diversity between uids and gids definitions. Then, there is a lower chance that no group corresponds to provided uid. In our cases, this happens for a huge number of files (hundreds of thousands), slowing processing, and flooding the log with incorrect error reports.
Best regards
Petr