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

feat(interactive): Refactor and fix some bugs for AdminService #3406

Closed
wants to merge 2 commits into from

Conversation

zhanglei1949
Copy link
Collaborator

@zhanglei1949 zhanglei1949 commented Dec 7, 2023

In this PR, we refactor some of the Interactive AdminService and fix some bugs.

  1. Limit the maximum number of bulk loading jobs via bulk_loading_job_count_.
  2. Let all AdminActor APIs return seastar::future<gs::Result<seastar::sstring>>, with a mapping between gs::StatusCode and http status code, we can remove a lot of dummy code handling exception/unexpected behaviors.
  3. Update the unit test for admin service.
  4. Refine the returned HTTP code, previously we returns a generic 500 error regardless of the specific error encountered.

Fix #3515

@zhanglei1949 zhanglei1949 marked this pull request as draft December 7, 2023 08:15
@zhanglei1949 zhanglei1949 marked this pull request as ready for review February 6, 2024 07:20
@zhanglei1949 zhanglei1949 changed the title fiex(interactive): Refactor and fix some bug for AdminService fix(interactive): Refactor and fix some bug for AdminService Feb 6, 2024
@zhanglei1949 zhanglei1949 changed the title fix(interactive): Refactor and fix some bug for AdminService fix(interactive): Refactor and fix some bugs for AdminService Feb 6, 2024
@codecov-commenter
Copy link

codecov-commenter commented Mar 1, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 27.76%. Comparing base (d46a354) to head (64eb44d).
Report is 3 commits behind head on main.

❗ Current head 64eb44d differs from pull request most recent head 5a02274. Consider uploading reports for the commit 5a02274 to get more accurate results

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #3406   +/-   ##
=======================================
  Coverage   27.76%   27.76%           
=======================================
  Files         178      178           
  Lines       16245    16245           
=======================================
  Hits         4511     4511           
  Misses      11734    11734           

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 3c4bb8e...5a02274. Read the comment docs.

@zhanglei1949 zhanglei1949 changed the title fix(interactive): Refactor and fix some bugs for AdminService feat(interactive): Refactor and fix some bugs for AdminService Mar 5, 2024
liulx20
liulx20 previously approved these changes Mar 5, 2024
lidongze0629
lidongze0629 previously approved these changes Mar 5, 2024
author xiaolei.zl <xiaolei.zl@alibaba-inc.com> 1701935806 +0800
committer xiaolei.zl <xiaolei.zl@alibaba-inc.com> 1710748155 +0800

1. set default stored_procedures for graph schema. 2. use nlohmann-json to convert yaml to json

fix some bug

fix workflow file

make loading_method enum

ongoing: change http return code

fix bug

fix

fix

fix

fix

fix error

fix

fix

make load graph sync

support non-blocking dataloading

fix bug and make job_id string

fix start/end_time

fix resource object lock_file and AtomicIntDecrementer

fix adhoc

fix

rebase and refine

minor fix

refactor

minor

refine doc

fix

fix

aocc warning

can start compiler in interactive_server

rename

fix

minor format

minor

fix

fix

fix

fix
@zhanglei1949
Copy link
Collaborator Author

This PR has been divided into several small, merged PRs into main.

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.

feat(interactive): Refactor loader to enabling loading progress tracking in admin service
4 participants