Browse sessions by ip address duplicates entries
When browsing sessions by IP, entries are duplicated in each branch of the tree (see the attached screen shot).
By looking in MySQL queries log, the browse queries doesn't filter on the ipAddr attribute and get all sessions (SELECT id,a_sessions FROM sessions). ipAddr is only used when we click on the session to display it (SELECT id,a_session from sessions where ipAddr='172.25.210.9').
Browsing by uid (whattotrace) works well.
Our globalStorage configuration :
globalStorage = Apache::Session::Browseable::MySQL
globalStorageOptions = { \
'DataSource' => 'dbi:mysql:lemonldap;host=ssodb-731-mysql-vip;port=3111', \
'Password' => 'xxxxxxxx', \
'UserName' => 'lemonldap', \
'Index' => 'ipAddr _whatToTrace', \
'generateModule' => 'Lemonldap::NG::Common::Apache::Session::Generate::SHA256', \
}