Skip to content

Conversation

zhanglei1949
Copy link
Collaborator

@zhanglei1949 zhanglei1949 commented Jan 9, 2025

Introducing new configuration sharding_mode to Interactive. sharding_mode could be configured to exclusive or cooperative

  • exclusive: One shard(shard_id = shard_num - 1) will be reserved for only processing admin request
  • cooperative: All shard will processing both admin requests and query requests.

To specify this configuration, add in interactive_config.yaml

http_service:
  sharding_mode: exclusive

By default, sharding_mode is configured to exclusive to forbid admin service from being blocked by long-run queries. User could switch the mode via a config file.

For the reason why this mode is introduced, see #4409

And also adding a CI and fix a bug.

Committed-by: [email protected] from Dev container
Copy link
Contributor

github-actions bot commented Jan 9, 2025

Please check the preview of the documentation changes at
https://4763b05e.graphscope-docs-preview.pages.dev

Committed-by: [email protected] from Dev container
@codecov-commenter
Copy link

codecov-commenter commented Jan 10, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 58.78%. Comparing base (76097db) to head (c2d3957).

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #4410   +/-   ##
=======================================
  Coverage   58.78%   58.78%           
=======================================
  Files          12       12           
  Lines         592      592           
=======================================
  Hits          348      348           
  Misses        244      244           

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 76097db...c2d3957. Read the comment docs.

Committed-by: [email protected] from Dev container
Committed-by: [email protected] from Dev container
Committed-by: [email protected] from Dev container
Committed-by: [email protected] from Dev container
Committed-by: [email protected] from Dev container
Committed-by: [email protected] from Dev container
@zhanglei1949
Copy link
Collaborator Author

The api-test failure will be resolved via #4432

@zhanglei1949 zhanglei1949 merged commit 6bcd9c5 into alibaba:main Jan 20, 2025
14 checks passed
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.

4 participants