Merge branch 'stable-2.8' into stable-2.9

* stable-2.8:
  Ensure NrtFutures are notified promptly of new search generation
  Fix deadlocks in SubIndex shutdown

Change-Id: I723fb1cab17e57eb8714f9fa6c2f62b0c2d62a72