Open QiAnXinCodeSafe opened 3 years ago
My take: the faster Priam starts and the more durable it is the more value it adds. Saying up at all costs is a key design goal. So we'll happily take the risk of keeping some system resource open to avoid a noisy delay at startup. Also, given that this code is only relevant at startup, we're only at risk of having this one file handle open in any one session.
https://github.com/Netflix/Priam/blob/a78b203c5031e791aa1372938effc4c626b7b9a5/priam/src/main/java/com/netflix/priam/tuner/dse/DseTuner.java#L69
The program can potentially fail to release a system resource.