rdblue commented on code in PR #8032:
URL: https://github.com/apache/iceberg/pull/8032#discussion_r1277811384
##########
core/src/main/java/org/apache/iceberg/rest/RESTMetricsReporter.java:
##########
@@ -58,4 +60,11 @@ public void report(MetricsReport report) {
LOG.warn("Failed to report metrics to REST endpoint {}",
metricsEndpoint, e);
}
}
+
+ Object writeReplace() {
+ // fetch the latest headers from the AuthSession and carry them over in a
separate supplier so
+ // that AuthSession doesn't have to be Serializable
Review Comment:
Why change AuthSession to use a SerializableMap if it doesn't need to be
serializable?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]