LPS-50322  Announcement Portlet Notification Emails not working for new sharded instance

The issue only occured in shard environment. 
AnnouncementsEntryLocalServiceImpl.checkEntries() method only takes effect in default shard database and it can't get data from second instance database. That is to say, the below code fragment is still null:

List entries =
announcementsEntryFinder.findByDisplayDate(now, _previousCheckDate);

#entries is null (it can't search in second instance database)

The fix refer to com.liferay.portlet.admin.action.EditServerAction.reindex() method from 434 lines to 451 lines.

In addition, I have post one thread to ask some help in our forum from https://in.liferay.com/web/global.engineering/forums/-/message_boards/message/2917390.

The main fix logic is follow with the below response:
https://in.liferay.com/web/global.engineering/forums/-/message_boards/message/2917390#_19_message_2917512
https://in.liferay.com/web/global.engineering/forums/-/message_boards/message/2917390#_19_message_2917972
https://in.liferay.com/web/global.engineering/forums/-/message_boards/message/2917390#_19_message_2918820

Please help check the fix.

Thanks,
Hai