You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ozhera.apache.org by "wtt40122 (via GitHub)" <gi...@apache.org> on 2025/11/27 02:47:31 UTC
[PR] fix: fix log statistics and pipeline calling logic [ozhera]
wtt40122 opened a new pull request, #619:
URL: https://github.com/apache/ozhera/pull/619
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<!-- Please make sure you have read and understood the contributing guidelines -->
### Ⅰ. Describe what this PR did
-Change the logCounts type from long to AtomicLong to ensure thread safety
-Fix the return value judgment logic of pipeline. invike() to ensure correct handling of request context
-Use logCounts. get() instead of directly accessing variables in log output
-Add final modifier to multiple fields to enhance immutability
-Remove useless GSON introductions and simplify log output content
-Unified update and obtain log counts through atomic operations in the doExport method
-Optimize file truncation detection logic to improve log reading stability
### Ⅱ. Does this pull request fix one issue?
<!-- If that, add "fixes #xxx" below in the next line, for example, fixes #97. -->
### Ⅲ. Why don't you add test cases (unit test/integration test)?
### Ⅳ. Describe how to verify it
### Ⅴ. Special notes for reviews
--
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: commits-unsubscribe@ozhera.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@ozhera.apache.org
For additional commands, e-mail: commits-help@ozhera.apache.org
Re: [PR] fix: fix log statistics and pipeline calling logic [ozhera]
Posted by "sadadw1 (via GitHub)" <gi...@apache.org>.
sadadw1 merged PR #619:
URL: https://github.com/apache/ozhera/pull/619
--
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: commits-unsubscribe@ozhera.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@ozhera.apache.org
For additional commands, e-mail: commits-help@ozhera.apache.org