Skip to content

MINOR: fix core test build#6603

Merged
hachikuji merged 2 commits intoapache:trunkfrom
vvcephei:MINOR-fix-build
Apr 18, 2019
Merged

MINOR: fix core test build#6603
hachikuji merged 2 commits intoapache:trunkfrom
vvcephei:MINOR-fix-build

Conversation

@vvcephei
Copy link
Copy Markdown
Contributor

Committer Checklist (excluded from commit message)

  • Verify design and implementation
  • Verify test coverage and CI build status
  • Verify documentation (including upgrade notes)

@vvcephei
Copy link
Copy Markdown
Contributor Author

Hi @hachikuji , do you mind taking a look at this?

(warning: I ran that one test, but not all the tests, locally before pushing this PR)

val relativeOffset = (startOffset - segmentBaseOffset).toInt
val producerAppendInfo = new ProducerAppendInfo(producerId, ProducerStateEntry.empty(producerId), ValidationType.Full)
val producerAppendInfo = new ProducerAppendInfo(
new TopicPartition("test", 0),
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Can we just use partition?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

oh, sure; I overlooked it.

Copy link
Copy Markdown
Contributor

@hachikuji hachikuji left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks for fixing this. I verified the fix locally, so I will go ahead and merge.

@hachikuji hachikuji merged commit 7b4b298 into apache:trunk Apr 18, 2019
@vvcephei vvcephei deleted the MINOR-fix-build branch April 18, 2019 16:41
pengxiaolong pushed a commit to pengxiaolong/kafka that referenced this pull request Jun 14, 2019
)

Reviewers: Jason Gustafson <jason@confluent.io>
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.

2 participants