Skip to content

MINOR: Fix visibility of Log.{unflushedMessages, addSegment} methods#9966

Merged
chia7712 merged 1 commit intoapache:trunkfrom
kowshik:MINOR_cleanup_AK_log_layer
Jan 26, 2021
Merged

MINOR: Fix visibility of Log.{unflushedMessages, addSegment} methods#9966
chia7712 merged 1 commit intoapache:trunkfrom
kowshik:MINOR_cleanup_AK_log_layer

Conversation

@kowshik
Copy link
Copy Markdown
Contributor

@kowshik kowshik commented Jan 25, 2021

I've changed the visibility of the following methods, since these need not be public methods:

  • The method Log.unflushedMessages from public to private.
  • The method Log.addSegment from public to package private.

Test plan:
Rely on existing tests.

@kowshik kowshik changed the title WIP MINOR: Fix visibility of Log.{unflushedMessages, addSegment} methods Jan 25, 2021
@kowshik
Copy link
Copy Markdown
Contributor Author

kowshik commented Jan 25, 2021

cc @junrao for review

Copy link
Copy Markdown
Contributor

@junrao junrao left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@kowshik : Thanks for the PR. LGTM. Waiting for the tests to pass.

@chia7712 chia7712 merged commit 7230d14 into apache:trunk Jan 26, 2021
ijuma added a commit to ijuma/kafka that referenced this pull request Jan 26, 2021
…e-allocations-lz4

* apache-github/trunk: (562 commits)
  MINOR: remove unused code from MessageTest (apache#9961)
  MINOR: Fix visibility of Log.{unflushedMessages, addSegment} methods (apache#9966)
  KAFKA-12229: Restore original class loader in integration tests using EmbeddedConnectCluster during shutdown  (apache#9942)
  KAFKA-12190: Fix setting of file permissions on non-POSIX filesystems (apache#9947)
  MINOR: Remove `toStruct` and `fromStruct` methods from generated protocol classes (apache#9960)
  MINOR: Fix typo in Utils#toPositive (apache#9943)
  MINOR: MessageUtil: remove some deadcode (apache#9931)
  MINOR: Update zstd-jni to 1.4.8-2 (apache#9957)
  MINOR: Revert assertion in MockProducerTest (apache#9956)
  MINOR: Optimize assertions in unit tests (apache#9955)
  MINOR: Tag `RaftEventSimulationTest` as `integration` and tweak it (apache#9925)
  MINOR: Update to Gradle 6.8.1 (apache#9953)
  MINOR: A few small group coordinator cleanups (apache#9952)
  MINOR: Upgrade ducktape to version 0.8.1  (apache#9933)
  MINOR: fix record time in test shouldWipeOutStandbyStateDirectoryIfCheckpointIsMissing (apache#9948)
  MINOR: Restore interrupt status when closing (apache#9863)
  KAFKA-10357: Extract setup of repartition topics from Streams partition assignor (apache#9848)
  KAFKA-12212; Bump Metadata API version to remove `ClusterAuthorizedOperations` fields (KIP-700) (apache#9945)
  MINOR: log 2min processing summary of StreamThread loop (apache#9941)
  MINOR: Drop enable.metadata.quorum config (apache#9934)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants