summaryrefslogtreecommitdiff
path: root/CHANGES.md
diff options
context:
space:
mode:
authorYuxuan 'fishy' Wang <yuxuan.wang@reddit.com>2022-03-15 15:22:15 -0700
committerYuxuan 'fishy' Wang <fishywang@gmail.com>2022-03-15 21:39:38 -0700
commit6433994ee794fa4cd0d7dd862f83cedbfb72c23b (patch)
tree8f3e5d44c3b982d9902420e24ac92828b0738521 /CHANGES.md
parentb941b1124834d38daaa0e4355655b4ce63b80d3e (diff)
downloadthrift-6433994ee794fa4cd0d7dd862f83cedbfb72c23b.tar.gz
THRIFT-5539: Decouple TDuplicateToProtocol out of TDebugProtocol
Client: go Currently go's TDebugProtocol does two things: log the read/writes, and duplicate all the reads/writes to another TProtocol. For people who only need the second feature, even if they use NopLogger for the logging part, they still need to pay the price of all the fmt.Sprintf calls used by logging, and on some cases those fmt.Sprintf calls alone can cause significant CPU to be wasted (in one of our services fmt.Sprintf called by TDebugProtocol used ~10% of CPU). Create a dedicated TDuplicateToProtocol to reduce cpu waste, and mark TDebugProtocol.DuplicateTo as deprecated.
Diffstat (limited to 'CHANGES.md')
-rw-r--r--CHANGES.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/CHANGES.md b/CHANGES.md
index 805c0d94a..8481d1173 100644
--- a/CHANGES.md
+++ b/CHANGES.md
@@ -1,5 +1,11 @@
# Apache Thrift Changelog
+## 0.17.0
+
+### Go
+
+- [THRIFT-5539](https://issues.apache.org/jira/browse/THRIFT-5539) - `TDebugProtocol.DuplicateTo` is now deprecated, `TDuplicateToProtocol` has been provided as the replacement
+
## 0.16.0
### Known Open Issues (Blocker or Critical)