added code to extract abset host IDs from the replica DB and request only them.