Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed stats buffer rotation #17

Merged
merged 1 commit into from
Sep 16, 2016
Merged

Fixed stats buffer rotation #17

merged 1 commit into from
Sep 16, 2016

Conversation

merlimat
Copy link
Contributor

Motivation

  • After recent change, the buffer is not cleared after being rotated.
  • Removed race condition on rotation

Modifications

Access the stats buffer under read lock, since we are not relying on the buffer pool and refcounting anymore.

@yahoocla
Copy link

CLA is valid!

@merlimat merlimat self-assigned this Sep 16, 2016
@merlimat merlimat added this to the 1.15 milestone Sep 16, 2016
@rdhabalia
Copy link
Contributor

👍 seems have merging issue.

@merlimat merlimat merged commit b2cbf4e into apache:master Sep 16, 2016
@merlimat merlimat added the type/bug The PR fixed a bug or issue reported a bug label Sep 26, 2016
sijie pushed a commit to sijie/pulsar that referenced this pull request Mar 4, 2018
* Create pulsar-functions module (#1)

* Create pulsar-functions module

* rename `sdk` package to `api`

* Added the first cut of the Java interface for Pulsar functions (#2)

* Added join interface to Spawner.
hangc0276 referenced this pull request in hangc0276/pulsar May 26, 2021
This PR is based on 
[Produce request](streamnative/kop@a09a805), which is in PR #14, please review and merge that first.

changes:
- change to sn pulsar version, so we could call getter/setter for parent class in `KafkaBrokerService` and `KafkaService`. Or it is not able to do the mock in test framework.
- add test framework, 
- add a simple produce request test, and pass write test.
Technoboy- referenced this pull request in Technoboy-/pulsar Aug 12, 2021
Technoboy- referenced this pull request in Technoboy-/pulsar Aug 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/bug The PR fixed a bug or issue reported a bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants