Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
108838: Create chinese.stop r=rickystewart,Xiang-Gu a=zhenruyan add tsearch chinese stopwords I'm considering using cockroachdb for Chinese searches, so I hope I can contribute something. Release note: None Epic: None 109264: pkg/util/log: change default httpSink timeout to 2s r=dhartunian a=abarganier Previously, the default timeout for the httpSink was for there to be no timeout at all. This means that the first call to `output()` on where the http target was unavailable would hang forever. This would deadlock the calling goroutine, whether that's the bufferedSink flush goroutine, or (even worse) a server goroutine in the event that the httpSink is not buffered. Our default timeout should not deadlock in the worst case scenario. Admittedly, `2s` would also cause a noticeable performance degradation in the event that the httpSink was unbuffered, but it would at least be able to emit logs indicating the timeout as the cause. Availability would also be maintained to some degree. Previously, the deadlocks due to no timeout being set by default meant that no indication was ever given that the httpSink was unable to reach the http target. Release note (ops change): The default value of `timeout` for `http-servers` logging sinks has been changed from "no timeout" to `2s`. This will be reflected in the `http-defaults` section of the log configuration. Users still maintain the ability to override the timeout, or disable it by explicitly setting it to `0` (e.g. `timeout: 0`). Fixes: #109263 109454: concurrency: s/queuedWriters/queuedLockingRequests/g r=nvanbenschoten a=arulajmani See individual commits for details. Co-authored-by: 真如赝 <baiyangwangzhan@hotmail.com> Co-authored-by: Alex Barganier <abarganier@cockroachlabs.com> Co-authored-by: Arul Ajmani <arulajmani@gmail.com>
- Loading branch information
Showing
48 changed files
with
1,651 additions
and
846 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.