Skip to content
This repository was archived by the owner on Jan 24, 2024. It is now read-only.

Conversation

@Demogorgon314
Copy link
Member

@Demogorgon314 Demogorgon314 commented Oct 29, 2021

Fixes: #761

Motivation

In K8S environment, load transaction topics when start KafkaProtocolHandler might crash, because to start a KoP node might depend on a successful start of another KoP node.

See Related PR : #627

Modification

The most important change is to remove the loadTxnLogTopics method.
Addition change is add a method to wait txnLog load in units test.

@Demogorgon314 Demogorgon314 self-assigned this Oct 29, 2021
@Demogorgon314 Demogorgon314 changed the title Do not load TxnLog when handler start [BUGFIX] Fix loadTxnLogTopics might crash in K8S environment Oct 29, 2021
@Demogorgon314 Demogorgon314 force-pushed the impl/do-not-load-TxnLog-when-handler-start branch from f3d21da to 8e7cb02 Compare November 3, 2021 01:57
@Demogorgon314 Demogorgon314 marked this pull request as ready for review November 3, 2021 03:06
@BewareMyPower BewareMyPower merged commit 769c62b into streamnative:master Nov 3, 2021
BewareMyPower pushed a commit that referenced this pull request Nov 5, 2021
Fixes: #761

### Motivation

In K8S environment, load transaction topics when start KafkaProtocolHandler might crash, because to start a KoP node might depend on a successful start of another KoP node.

See Related PR : #627

### Modification

The most important change is to remove the `loadTxnLogTopics ` method.
Addition change is add a method to wait txnLog load in units test.
BewareMyPower pushed a commit that referenced this pull request Nov 5, 2021
Fixes: #761

### Motivation

In K8S environment, load transaction topics when start KafkaProtocolHandler might crash, because to start a KoP node might depend on a successful start of another KoP node.

See Related PR : #627

### Modification

The most important change is to remove the `loadTxnLogTopics ` method.
Addition change is add a method to wait txnLog load in units test.
@Demogorgon314 Demogorgon314 deleted the impl/do-not-load-TxnLog-when-handler-start branch November 25, 2021 05:05
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] loadTxnLogTopics might crash in K8S environment

2 participants