apache / distributedlog

Apache DistributedLog
Apache License 2.0
185 stars 74 forks source link

Issue 201: Fix the flaky test TestBKDistributedLogManager.deleteDuringRead #204

Closed sijie closed 6 years ago

sijie commented 6 years ago

Descriptions of the changes in this PR:

The problem is when a log is deleted during read, the reader will detect some missing log segments and throw DLIllegalStateException. It is an expected behavior because reading while a log is deleted is an undefined behavior. so it is expected to receive DLIllegalStateException exception.