release Expired Sessions
Clears up the recorded NodeId
s from the session records if there was no activity for longer than passed inactivityPeriod
.
It may be handy if an application node hangs or gets killed — so that it is not able to complete the session in a conventional way.
Return
the indexes of shards which sessions have been released
Parameters
inactivity Period
the duration of the period after which the session is considered expired