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

fix(functions): missing runtime set in GoInstanceConfig #13031

Merged
merged 5 commits into from
Dec 1, 2021
Merged

fix(functions): missing runtime set in GoInstanceConfig #13031

merged 5 commits into from
Dec 1, 2021

Conversation

ericsyh
Copy link
Contributor

@ericsyh ericsyh commented Nov 29, 2021

Signed-off-by: Eric Shen ericshenyuhao@outlook.com

(If this PR fixes a github issue, please add Fixes #<xyz>.)

Fixes: #12477

Motivation

To fix issue #12477

Modifications

Added the runtime set in GoInstanceConfig

Verifying this change

  • Make sure that the change passes the CI checks.

(Please pick either of the following options)

This change is a trivial rework / code cleanup without any test coverage.

(or)

This change is already covered by existing tests, such as (please describe tests).

(or)

This change added tests and can be verified as follows:

(example:)

  • Added integration tests for end-to-end deployment with large payloads (10MB)
  • Extended integration test for recovery after broker failure

Does this pull request potentially affect one of the following parts:

If yes was chosen, please highlight the changes

  • Dependencies (does it add or upgrade a dependency): (no)
  • The public API: (no)
  • The schema: (no)
  • The default values of configurations: (no)
  • The wire protocol: (no)
  • The rest endpoints: (no)
  • The admin cli options: (no)
  • Anything that affects deployment: (no)

Documentation

Check the box below and label this PR (if you have committer privilege).

Need to update docs?

  • doc-required

    (If you need help on updating docs, create a doc issue)

  • no-need-doc

    (Please explain why)

  • doc

    (If this PR contains doc changes)

Signed-off-by: Eric Shen <ericshenyuhao@outlook.com>
@github-actions github-actions bot added the doc-not-needed Your PR changes do not impact docs label Nov 29, 2021
Signed-off-by: Eric Shen <ericshenyuhao@outlook.com>
Signed-off-by: Eric Shen <ericshenyuhao@outlook.com>
Signed-off-by: Eric Shen <ericshenyuhao@outlook.com>
@ericsyh
Copy link
Contributor Author

ericsyh commented Nov 30, 2021

@freeznet PTAL, after several tries the CI checks pass now.

@tuteng tuteng requested a review from freeznet November 30, 2021 13:32
@tuteng tuteng added this to the 2.10.0 milestone Nov 30, 2021
Copy link
Contributor

@freeznet freeznet left a comment

Choose a reason for hiding this comment

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

LGTM

@freeznet
Copy link
Contributor

@nlu90 please help to review this PR when you have time, thanks.

Copy link
Member

@nlu90 nlu90 left a comment

Choose a reason for hiding this comment

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

LGTM

@freeznet freeznet merged commit aa992e8 into apache:master Dec 1, 2021
zeo1995 pushed a commit to zeo1995/pulsar that referenced this pull request Dec 1, 2021
* up/master: (75 commits)
  [website][upgrade]feat: website upgrade / docs migration - 2.5.1 Get Started/Concepts and Architecture/Pulsar Schema (apache#13030)
  Fix environment variable assignment in startup scripts (apache#13025)
  update 2.8.x (apache#13029)
  [Doc] add tips for Pulsar tools (apache#13044)
  Suggest to use tlsPort instead of deprecated TlsEnable (apache#13039)
  Integration tests for function-worker rebalance and drain operations. (apache#13058)
  fix(functions): missing runtime set in GoInstanceConfig (apache#13031)
  [pulsar-admin] Add get-replicated-subscription-status command for topic (apache#12891)
  [Broker] Consider topics in pulsar/system namespace as system topics (apache#13050)
  Fix typo: correct sizeUint to sizeUnit (apache#13040)
  fix-12894 (apache#12896)
  Don't attempt to delete pending ack store unless transactions are enabled (apache#13041)
  [Perf] Evaluate the current protocol version once (apache#13045)
  Fix Issue apache#12885, Unordered consuming case in Key_Shared subscription (apache#12890)
  [broker]Optimize topicMaxMessageSize with topic local cache. (apache#12830)
  [PIP-105] Part-2 Support pluggable entry filter in Dispatcher (apache#12970)
  [website] Modify admin-api-topic.md document (apache#12996)
  add missed import (apache#13037)
  [metadata] Add RocksdbMetadataStore (apache#12776)
  [C] Add pulsar_client_subscribe_multi_topics and pulsar_client_subscribe_pattern (apache#12965)
  ...

# Conflicts:
#	site2/website-next/docusaurus.config.js
#	site2/website-next/versioned_sidebars/version-2.6.1-sidebars.json
#	site2/website-next/versions.json
fxbing pushed a commit to fxbing/pulsar that referenced this pull request Dec 19, 2021
* fix(functions): missing runtime set in GoInstanceConfig

Signed-off-by: Eric Shen <ericshenyuhao@outlook.com>

* fix ci ut

Signed-off-by: Eric Shen <ericshenyuhao@outlook.com>

* fix test ci

Signed-off-by: Eric Shen <ericshenyuhao@outlook.com>

* rollback some change in function-go

Signed-off-by: Eric Shen <ericshenyuhao@outlook.com>
@ericsyh ericsyh deleted the fix-12477 branch December 19, 2021 12:42
codelipenghui pushed a commit that referenced this pull request Dec 21, 2021
* fix(functions): missing runtime set in GoInstanceConfig

Signed-off-by: Eric Shen <ericshenyuhao@outlook.com>

* fix ci ut

Signed-off-by: Eric Shen <ericshenyuhao@outlook.com>

* fix test ci

Signed-off-by: Eric Shen <ericshenyuhao@outlook.com>

* rollback some change in function-go

Signed-off-by: Eric Shen <ericshenyuhao@outlook.com>
(cherry picked from commit aa992e8)
@codelipenghui codelipenghui added the cherry-picked/branch-2.9 Archived: 2.9 is end of life label Dec 21, 2021
zymap pushed a commit that referenced this pull request Dec 23, 2021
* fix(functions): missing runtime set in GoInstanceConfig

Signed-off-by: Eric Shen <ericshenyuhao@outlook.com>

* fix ci ut

Signed-off-by: Eric Shen <ericshenyuhao@outlook.com>

* fix test ci

Signed-off-by: Eric Shen <ericshenyuhao@outlook.com>

* rollback some change in function-go

Signed-off-by: Eric Shen <ericshenyuhao@outlook.com>
(cherry picked from commit aa992e8)
@zymap zymap added the cherry-picked/branch-2.8 Archived: 2.8 is end of life label Dec 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/function cherry-picked/branch-2.8 Archived: 2.8 is end of life cherry-picked/branch-2.9 Archived: 2.9 is end of life doc-not-needed Your PR changes do not impact docs release/2.8.3 release/2.9.2
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[bug](function-go-runtime): The runtime of instance-conf is incorrect
8 participants