Alexey Serbin has submitted this change and it was merged. ( http://gerrit.cloudera.org:8080/15516 )
Change subject: [mini_kdc] MiniKdc::Kinit() atomically replaces ccache ...................................................................... [mini_kdc] MiniKdc::Kinit() atomically replaces ccache This patch updates implementation of MiniKdc::Kinit() to atomically replace cache credentials file. I noticed that without this patch Java test TestSecurity.testRenewAndReacquireKerberosCredentials fails time to time in a TSAN build, but with this patch and with https://gerrit.cloudera.org/#/c/15433/ it passes every time. Change-Id: I44b0afc1d92519f9942b8a6dfb14ebc12eda0949 Reviewed-on: http://gerrit.cloudera.org:8080/15516 Reviewed-by: Adar Dembo <[email protected]> Tested-by: Kudu Jenkins --- M src/kudu/security/test/mini_kdc.cc 1 file changed, 20 insertions(+), 1 deletion(-) Approvals: Adar Dembo: Looks good to me, approved Kudu Jenkins: Verified -- To view, visit http://gerrit.cloudera.org:8080/15516 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: kudu Gerrit-Branch: master Gerrit-MessageType: merged Gerrit-Change-Id: I44b0afc1d92519f9942b8a6dfb14ebc12eda0949 Gerrit-Change-Number: 15516 Gerrit-PatchSet: 2 Gerrit-Owner: Alexey Serbin <[email protected]> Gerrit-Reviewer: Adar Dembo <[email protected]> Gerrit-Reviewer: Alexey Serbin <[email protected]> Gerrit-Reviewer: Grant Henke <[email protected]> Gerrit-Reviewer: Kudu Jenkins (120)
