Short gamma-ray bursts and gravitational-wave observations from eccentric compact binaries