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

Revert "[compat] [controller] add rt topic name in store config (#1345)" #1354

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

arjun4084346
Copy link
Contributor

@arjun4084346 arjun4084346 commented Dec 2, 2024

Reverts a commit that throws NPE

This reverts commit cc6e3db. PR #1345
because that commits throws NPE

Caused by: java.lang.NullPointerException: Cannot invoke "java.lang.CharSequence.toString()" because "this.hybridConfig.realTimeTopicName" is null at com.linkedin.venice.meta.HybridStoreConfigImpl.getRealTimeTopicName(HybridStoreConfigImpl.java:108) ~[com.linkedin.venice.venice-common-0.4.368.jar:?] at com.linkedin.venice.meta.HybridStoreConfigImpl.clone(HybridStoreConfigImpl.java:146) ~[com.linkedin.venice.venice-common-0.4.368.jar:?] at com.linkedin.venice.meta.ZKStore.<init>(ZKStore.java:186) ~[com.linkedin.venice.venice-common-0.4.368.jar:?] at com.linkedin.venice.meta.ZKStore.cloneStore(ZKStore.java:969) ~[com.linkedin.venice.venice-common-0.4.368.jar:?] at com.linkedin.venice.helix.HelixReadWriteStoreRepository.lambda$getAllStores$0(HelixReadWriteStoreRepository.java:96) ~[com.linkedin.venice.venice-common-0.4.368.jar:?] at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197) ~[?:?] at java.util.concurrent.ConcurrentHashMap$ValueSpliterator.forEachRemaining(ConcurrentHashMap.java:3612) ~[?:?] at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509) ~[?:?] at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499) ~[?:?] at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:921) ~[?:?] at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) ~[?:?] at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:682) ~[?:?] at com.linkedin.venice.helix.HelixReadWriteStoreRepository.getAllStores(HelixReadWriteStoreRepository.java:96) ~[com.linkedin.venice.venice-common-0.4.368.jar:?] at com.linkedin.venice.helix.HelixReadOnlyStoreRepositoryAdapter.getAllStores(HelixReadOnlyStoreRepositoryAdapter.java:127) ~[com.linkedin.venice.venice-common-0.4.368.jar:?] at com.linkedin.venice.controller.HelixVeniceClusterResources.repairStoreReplicationFactor(HelixVeniceClusterResources.java:215) ~[com.linkedin.venice.venice-controller-0.4.368.jar:?] at com.linkedin.venice.controller.HelixVeniceClusterResources.refresh(HelixVeniceClusterResources.java:244) ~[com.linkedin.venice.venice-controller-0.4.368.jar:?] at com.linkedin.venice.controller.VeniceControllerStateModel.initClusterResources(VeniceControllerStateModel.java:195) ~[com.linkedin.venice.venice-controller-0.4.368.jar:?] at com.linkedin.venice.controller.VeniceControllerStateModel.lambda$onBecomeLeaderFromStandby$0(VeniceControllerStateModel.java:150) ~[com.linkedin.venice.venice-controller-0.4.368.jar:?] at com.linkedin.venice.controller.VeniceControllerStateModel.executeStateTransition(VeniceControllerStateModel.java:111) ~[com.linkedin.venice.venice-controller-0.4.368.jar:?] at com.linkedin.venice.controller.VeniceControllerStateModel.onBecomeLeaderFromStandby(VeniceControllerStateModel.java:129) ~[com.linkedin.venice.venice-controller-0.4.368.jar:?] ... 12 more

Resolves #XXX

How was this PR tested?

Does this PR introduce any user-facing changes?

  • No. You can skip the rest of this section.
  • Yes. Make sure to explain your proposed changes and call out the behavior change.

@arjun4084346 arjun4084346 marked this pull request as draft December 2, 2024 17:26
@arjun4084346 arjun4084346 reopened this Dec 2, 2024
@arjun4084346 arjun4084346 marked this pull request as ready for review December 2, 2024 17:40
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