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

Pragma2ifndef #3716

Merged
merged 76 commits into from
Feb 8, 2022
Merged

Pragma2ifndef #3716

merged 76 commits into from
Feb 8, 2022

Commits on Dec 1, 2021

  1. Configuration menu
    Copy the full SHA
    68ea96e View commit details
    Browse the repository at this point in the history

Commits on Dec 9, 2021

  1. Configuration menu
    Copy the full SHA
    ec45d70 View commit details
    Browse the repository at this point in the history
  2. githooks option

    jiayuehua committed Dec 9, 2021
    Configuration menu
    Copy the full SHA
    0ab3ec5 View commit details
    Browse the repository at this point in the history

Commits on Dec 10, 2021

  1. include what you use

    jiayuehua committed Dec 10, 2021
    Configuration menu
    Copy the full SHA
    0124096 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a4b498a View commit details
    Browse the repository at this point in the history
  3. make name follow convention

    jiayuehua committed Dec 10, 2021
    Configuration menu
    Copy the full SHA
    2631efb View commit details
    Browse the repository at this point in the history

Commits on Dec 13, 2021

  1. linker support lld, which is the fastest linker. If ci

    install lld when pull request , will set lld as default linker.
    jiayuehua committed Dec 13, 2021
    Configuration menu
    Copy the full SHA
    fd73804 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d48a879 View commit details
    Browse the repository at this point in the history

Commits on Dec 14, 2021

  1. Configuration menu
    Copy the full SHA
    be88514 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d4737a0 View commit details
    Browse the repository at this point in the history

Commits on Dec 16, 2021

  1. Configuration menu
    Copy the full SHA
    884177a View commit details
    Browse the repository at this point in the history

Commits on Dec 17, 2021

  1. log rotate

    jiayuehua committed Dec 17, 2021
    Configuration menu
    Copy the full SHA
    3ff1b32 View commit details
    Browse the repository at this point in the history

Commits on Dec 21, 2021

  1. Configuration menu
    Copy the full SHA
    11c7704 View commit details
    Browse the repository at this point in the history

Commits on Dec 28, 2021

  1. Configuration menu
    Copy the full SHA
    5017298 View commit details
    Browse the repository at this point in the history
  2. delete werror

    jiayuehua committed Dec 28, 2021
    Configuration menu
    Copy the full SHA
    f3d8a5d View commit details
    Browse the repository at this point in the history
  3. merge 3.0

    jiayuehua committed Dec 28, 2021
    Configuration menu
    Copy the full SHA
    6448ece View commit details
    Browse the repository at this point in the history

Commits on Jan 13, 2022

  1. Configuration menu
    Copy the full SHA
    71c0e39 View commit details
    Browse the repository at this point in the history
  2. pragma once => ifndef

    jiayuehua committed Jan 13, 2022
    Configuration menu
    Copy the full SHA
    55debd2 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    da224c5 View commit details
    Browse the repository at this point in the history
  4. pragma once => ifndef

    jiayuehua committed Jan 13, 2022
    Configuration menu
    Copy the full SHA
    f37f2f9 View commit details
    Browse the repository at this point in the history
  5. Werror bison

    jiayuehua committed Jan 13, 2022
    Configuration menu
    Copy the full SHA
    2217275 View commit details
    Browse the repository at this point in the history
  6. format code

    jiayuehua committed Jan 13, 2022
    Configuration menu
    Copy the full SHA
    ec21670 View commit details
    Browse the repository at this point in the history

Commits on Jan 14, 2022

  1. Configuration menu
    Copy the full SHA
    567b1a7 View commit details
    Browse the repository at this point in the history

Commits on Feb 7, 2022

  1. fix issue 3601 (#3666)

    cangfengzhs authored and jiayuehua committed Feb 7, 2022
    Configuration menu
    Copy the full SHA
    525da0e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8ce51d1 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    73dad09 View commit details
    Browse the repository at this point in the history
  4. Fix race of create tag and edge (#3735)

    * fix rece
    
    * polish
    
    * fix review
    jackwener authored and jiayuehua committed Feb 7, 2022
    Configuration menu
    Copy the full SHA
    f3a27aa View commit details
    Browse the repository at this point in the history
  5. Add version for show hosts (#3702)

    * version
    
    * tck
    
    * pytest
    
    * pytest
    
    Co-authored-by: cpw <13495049+CPWstatic@users.noreply.github.com>
    2 people authored and jiayuehua committed Feb 7, 2022
    Configuration menu
    Copy the full SHA
    d8665e9 View commit details
    Browse the repository at this point in the history
  6. Enhancement/set expression depth by flag (#3722)

    * Set expression depth limit by flag.
    
    * Format.
    
    Co-authored-by: Yichen Wang <18348405+Aiee@users.noreply.github.com>
    2 people authored and jiayuehua committed Feb 7, 2022
    Configuration menu
    Copy the full SHA
    2bce24e View commit details
    Browse the repository at this point in the history
  7. Update client version to v3.0.0 (#3741)

    * Update python package name to v3
    
    * Update client version white list
    
    * Update go mod to v3
    
    * Change the python package name used in tests
    
    * Update client version white list
    Aiee authored and jiayuehua committed Feb 7, 2022
    Configuration menu
    Copy the full SHA
    c1b90e8 View commit details
    Browse the repository at this point in the history
  8. Fix create fulltext index failed (#3747)

    * fix bug: the same tagId/edgetype under different spaces, failed to create fulltext indexes
    
    * fix bug: the same tagId/edgetype under different spaces, failed to create fulltext indexes
    panda-sheep authored and jiayuehua committed Feb 7, 2022
    Configuration menu
    Copy the full SHA
    311eb74 View commit details
    Browse the repository at this point in the history
  9. add comments and adjust log level for meta/processors/admin (#3662)

    * add comments and adjust log level for meta admin processors
    
    * change agent hb log level
    
    Co-authored-by: Doodle <13706157+critical27@users.noreply.github.com>
    2 people authored and jiayuehua committed Feb 7, 2022
    Configuration menu
    Copy the full SHA
    14133f3 View commit details
    Browse the repository at this point in the history
  10. fix writternBy delete by optimizer (#3746)

    * fix bugs
    
    * add tck features
    
    * style
    
    Co-authored-by: cpw <13495049+CPWstatic@users.noreply.github.com>
    2 people authored and jiayuehua committed Feb 7, 2022
    Configuration menu
    Copy the full SHA
    0ffc73e View commit details
    Browse the repository at this point in the history
  11. fix with & optimizer rule error (#3736)

    * fix error
    
    * fix collapseProjectRule
    
    Co-authored-by: cpw <13495049+CPWstatic@users.noreply.github.com>
    2 people authored and jiayuehua committed Feb 7, 2022
    Configuration menu
    Copy the full SHA
    47b57d7 View commit details
    Browse the repository at this point in the history
  12. fix upgrade bug (#3772)

    Co-authored-by: Sophie <84560950+Sophie-Xie@users.noreply.github.com>
    2 people authored and jiayuehua committed Feb 7, 2022
    Configuration menu
    Copy the full SHA
    bda53e9 View commit details
    Browse the repository at this point in the history
  13. fix 3727 (#3737)

    Co-authored-by: Doodle <13706157+critical27@users.noreply.github.com>
    2 people authored and jiayuehua committed Feb 7, 2022
    Configuration menu
    Copy the full SHA
    94e7090 View commit details
    Browse the repository at this point in the history
  14. Balance fix (#3668)

    * fix core balance in zone removing the only host in zone
    
    * fix balance plan that make redundant part
    
    * fix deadlock when runInternal and finish callback called in the same thread
    
    * fix transleader return TERM_OUT_OF_DATE
    
    * continue running balance task from last status
    
    * fix deadlock when removing part
    
    Co-authored-by: Sophie <84560950+Sophie-Xie@users.noreply.github.com>
    2 people authored and jiayuehua committed Feb 7, 2022
    Configuration menu
    Copy the full SHA
    4f4cf1e View commit details
    Browse the repository at this point in the history
  15. Eliminte the useless row collect. (#3363)

    * Eliminte the useless row collect.
    
    * Remove comment.
    
    * Format.
    
    * Rebase.
    
    Co-authored-by: cpw <13495049+CPWstatic@users.noreply.github.com>
    Co-authored-by: Sophie <84560950+Sophie-Xie@users.noreply.github.com>
    3 people authored and jiayuehua committed Feb 7, 2022
    Configuration menu
    Copy the full SHA
    bdde526 View commit details
    Browse the repository at this point in the history
  16. Add snapshot for prefix iterate. (#3717)

    * Add snapshot for prefix iterate.
    
    * Add header comment
    
    * Add happy test
    
    * Fix lint
    
    * Modify engine snap argument position
    
    * Fix other subclass
    
    * Fix code
    
    Co-authored-by: yaphet <4414314+darionyaphet@users.noreply.github.com>
    Co-authored-by: Sophie <84560950+Sophie-Xie@users.noreply.github.com>
    Co-authored-by: Doodle <13706157+critical27@users.noreply.github.com>
    4 people authored and jiayuehua committed Feb 7, 2022
    Configuration menu
    Copy the full SHA
    7611005 View commit details
    Browse the repository at this point in the history
  17. Read lock zone when create space. (#3693)

    Co-authored-by: yaphet <4414314+darionyaphet@users.noreply.github.com>
    Co-authored-by: Sophie <84560950+Sophie-Xie@users.noreply.github.com>
    3 people authored and jiayuehua committed Feb 7, 2022
    Configuration menu
    Copy the full SHA
    b4f2b13 View commit details
    Browse the repository at this point in the history
  18. suppress undesired ASAN error (#3705)

    * suppress undesired error
    
    * fix unstable test case
    critical27 authored and jiayuehua committed Feb 7, 2022
    Configuration menu
    Copy the full SHA
    b3128bb View commit details
    Browse the repository at this point in the history
  19. 1. add comments and change log level for meta (#3709)

    2. remove some unused meta kv files
    3. remove unused tests
    4. remove unused kv relative tests in metaclient
    
    Co-authored-by: Doodle <13706157+critical27@users.noreply.github.com>
    2 people authored and jiayuehua committed Feb 7, 2022
    Configuration menu
    Copy the full SHA
    49dcb78 View commit details
    Browse the repository at this point in the history
  20. fix upgrade (#3787)

    Co-authored-by: Doodle <13706157+critical27@users.noreply.github.com>
    2 people authored and jiayuehua committed Feb 7, 2022
    Configuration menu
    Copy the full SHA
    45c3a08 View commit details
    Browse the repository at this point in the history
  21. Create CODEOWNERS (#3770)

    Confirm with sophie.xie
    Sophie-Xie authored and jiayuehua committed Feb 7, 2022
    Configuration menu
    Copy the full SHA
    06fb3d6 View commit details
    Browse the repository at this point in the history
  22. disable data balance (#3756)

    Co-authored-by: Sophie <84560950+Sophie-Xie@users.noreply.github.com>
    2 people authored and jiayuehua committed Feb 7, 2022
    Configuration menu
    Copy the full SHA
    ac58676 View commit details
    Browse the repository at this point in the history
  23. Fix iterator with snapshot(parameter position) (#3785)

    Co-authored-by: Harris.Chu <1726587+HarrisChu@users.noreply.github.com>
    Co-authored-by: Sophie <84560950+Sophie-Xie@users.noreply.github.com>
    3 people authored and jiayuehua committed Feb 7, 2022
    Configuration menu
    Copy the full SHA
    f8f16eb View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    a302bad View commit details
    Browse the repository at this point in the history
  25. Add gflag validator for client_idle_timeout_secs (#3807)

    Co-authored-by: Sophie <84560950+Sophie-Xie@users.noreply.github.com>
    2 people authored and jiayuehua committed Feb 7, 2022
    Configuration menu
    Copy the full SHA
    61a051d View commit details
    Browse the repository at this point in the history
  26. disable zone commands (#3776)

    Co-authored-by: cpw <13495049+CPWstatic@users.noreply.github.com>
    2 people authored and jiayuehua committed Feb 7, 2022
    Configuration menu
    Copy the full SHA
    46f85e4 View commit details
    Browse the repository at this point in the history
  27. Add ci for standalone compile and ut. (#3637)

    * Add standalone workflow
    
    * remove tmp note
    
    * Add meta v2 thrift obj for sa
    
    * Add tck test
    
    * Fix port and dist tck
    
    * skip some test on sa
    
    * Fix merge
    
    * Fix add host
    
    Co-authored-by: Sophie <84560950+Sophie-Xie@users.noreply.github.com>
    2 people authored and jiayuehua committed Feb 7, 2022
    Configuration menu
    Copy the full SHA
    663b516 View commit details
    Browse the repository at this point in the history
  28. Fix the promise/future. (#3814)

    Co-authored-by: jimingquan <mingquan.ji@vesoft.com>
    2 people authored and jiayuehua committed Feb 7, 2022
    Configuration menu
    Copy the full SHA
    af3eba0 View commit details
    Browse the repository at this point in the history
  29. add comments & accumulate bug fix for TOSS (#3643)

    * 1. add comments & adjust some log level
    2. accumulate bug fix for TOSS
      2.1 one space may be affected by another space. when recover prime edges.
      2.2 when call kvstore->get(), if leaderLeaseInvalid, it will report leader_change, change it to
          leader_lease_failed.
      2.3 print all execution trace in ChainProcessor::finish(), make much more grep friendly.
      2.4 some function of memory lock is hard to understand (forceLock, forceUnlock) , change to
          "setAutoUnlock(bool)"
    
    modify update
    
    fix compile error
    
    adjust finish()
    
    adjust finish()
    
    add rcPrepare_ = succeeded
    
    adjust delete local processor
    
    adjust log
    
    use rcPrepare, rcRemote rcCommit
    
    fix resume add edges
    
    adjust UT
    
    disable ioThreadPoolForMeta_
    
    make int64 vid printable
    
    adjust some log to vlog 2
    
    only print prepare succeeded result
    
    only print readable in finish() of resume processor
    
    adjust some log
    
    some log not print term
    
    desc class name in uuid
    
    debug
    
    add some more log
    
    looks like factory may fail?
    
    add leader lease error code
    
    add check when get lock
    
    report leader lease
    
    do some clean
    
    change table prefix to NebulaKeyUtil Style
    
    change some print
    
    disable UT for short
    
    clean
    
    compile error
    
    disable pool monitor
    
    * unify add/delete finish() as update
    
    * not stable will add it back later
    
    * fix a clang warning
    
    * fix a clang10 warning 2
    
    Co-authored-by: Sophie <84560950+Sophie-Xie@users.noreply.github.com>
    2 people authored and jiayuehua committed Feb 7, 2022
    Configuration menu
    Copy the full SHA
    086df41 View commit details
    Browse the repository at this point in the history
  30. disable add hosts into zone (#3825)

    Co-authored-by: Sophie <84560950+Sophie-Xie@users.noreply.github.com>
    2 people authored and jiayuehua committed Feb 7, 2022
    Configuration menu
    Copy the full SHA
    4562e08 View commit details
    Browse the repository at this point in the history
  31. Check active zone before create space (#3822)

    Co-authored-by: Sophie <84560950+Sophie-Xie@users.noreply.github.com>
    2 people authored and jiayuehua committed Feb 7, 2022
    Configuration menu
    Copy the full SHA
    b0f550a View commit details
    Browse the repository at this point in the history
  32. abandon upgrader for old version (#3818)

    Co-authored-by: Sophie <84560950+Sophie-Xie@users.noreply.github.com>
    2 people authored and jiayuehua committed Feb 7, 2022
    Configuration menu
    Copy the full SHA
    a1b136f View commit details
    Browse the repository at this point in the history
  33. put dataVersionKey on create space for storage (#3817)

    * put dataVersionKey on create space for storage
    
    * address some comments
    
    Co-authored-by: Doodle <13706157+critical27@users.noreply.github.com>
    Co-authored-by: Sophie <84560950+Sophie-Xie@users.noreply.github.com>
    3 people authored and jiayuehua committed Feb 7, 2022
    Configuration menu
    Copy the full SHA
    e4f3443 View commit details
    Browse the repository at this point in the history
  34. Update PR template (#3809)

    Co-authored-by: Sophie <84560950+Sophie-Xie@users.noreply.github.com>
    2 people authored and jiayuehua committed Feb 7, 2022
    Configuration menu
    Copy the full SHA
    11fcc4c View commit details
    Browse the repository at this point in the history
  35. fix meta http replace host handler (#3794)

    * fix meta http replace host handler
    
    * fix http replace test and add zone test
    
    Co-authored-by: Sophie <84560950+Sophie-Xie@users.noreply.github.com>
    2 people authored and jiayuehua committed Feb 7, 2022
    Configuration menu
    Copy the full SHA
    dcc6441 View commit details
    Browse the repository at this point in the history
  36. Fix Match cannot be followed by use space (#3748)

    * fix bug
    
    * add tck
    
    * remove set
    
    * fix
    
    * rm header
    
    * fix
    
    * remove changes in match
    
    * fix
    
    * enhance annotation
    
    * fix review
    
    * fix
    
    * fix review
    
    * remove redundant
    
    Co-authored-by: Sophie <84560950+Sophie-Xie@users.noreply.github.com>
    Co-authored-by: cpw <13495049+CPWstatic@users.noreply.github.com>
    3 people authored and jiayuehua committed Feb 7, 2022
    Configuration menu
    Copy the full SHA
    4e9c2e8 View commit details
    Browse the repository at this point in the history
  37. support toSet function (#3594)

    add test
    
    Co-authored-by: Sophie <84560950+Sophie-Xie@users.noreply.github.com>
    2 people authored and jiayuehua committed Feb 7, 2022
    Configuration menu
    Copy the full SHA
    d609a73 View commit details
    Browse the repository at this point in the history
  38. Enhance date parser (#3797)

    * parse date
    
    * enhance datetime
    
    * add test
    
    * fix review
    
    * rename
    
    Co-authored-by: Sophie <84560950+Sophie-Xie@users.noreply.github.com>
    2 people authored and jiayuehua committed Feb 7, 2022
    Configuration menu
    Copy the full SHA
    f11d471 View commit details
    Browse the repository at this point in the history
  39. raft: fix always loop when no log need to send (#3819)

    Co-authored-by: Sophie <84560950+Sophie-Xie@users.noreply.github.com>
    Co-authored-by: Doodle <13706157+critical27@users.noreply.github.com>
    3 people authored and jiayuehua committed Feb 7, 2022
    Configuration menu
    Copy the full SHA
    4df057e View commit details
    Browse the repository at this point in the history
  40. Update CODEOWNERS (#3835)

    * Update CODEOWNERS
    
    * Update CODEOWNERS
    
    Confirm with sophie.xie
    Sophie-Xie authored and jiayuehua committed Feb 7, 2022
    Configuration menu
    Copy the full SHA
    51f3086 View commit details
    Browse the repository at this point in the history
  41. refactor AdminClient (#3781)

    * refactor AdminClient
    
    * fix test case, unify all getAdminAddrFromStoreAddr into AdminClient
    
    * add more test cases
    
    * address @panda-sheep's comment
    critical27 authored and jiayuehua committed Feb 7, 2022
    Configuration menu
    Copy the full SHA
    72f8938 View commit details
    Browse the repository at this point in the history
  42. Feature/optimizer trait match (#3769)

    * Add trait for pattern match.
    
    * Implement match plan by trait and reduce some reduncant rules.
    
    * Remove unused header.
    
    * Fix warning.
    
    * Let optimize rule decide collection of matched nodes.
    
    Co-authored-by: kyle.cao <kyle.cao@vesoft.com>
    Co-authored-by: Sophie <84560950+Sophie-Xie@users.noreply.github.com>
    3 people authored and jiayuehua committed Feb 7, 2022
    Configuration menu
    Copy the full SHA
    973137d View commit details
    Browse the repository at this point in the history
  43. Simplify datetime tostring. (#3712)

    * Simplify datetime tostring.
    
    * Remove unused code.
    
    * Fix error.
    
    Co-authored-by: Sophie <84560950+Sophie-Xie@users.noreply.github.com>
    2 people authored and jiayuehua committed Feb 7, 2022
    Configuration menu
    Copy the full SHA
    2677728 View commit details
    Browse the repository at this point in the history
  44. pragma once not allowd (#3842)

    Co-authored-by: Sophie <84560950+Sophie-Xie@users.noreply.github.com>
    jiayuehua and Sophie-Xie committed Feb 7, 2022
    Configuration menu
    Copy the full SHA
    002790b View commit details
    Browse the repository at this point in the history
  45. refactor LOG and add comment for meta, meta/processors/job (#3686)

    * refactor LOG and add comment for meta, meta/processors/job
    
    * refactor LOG and add comment for meta/processors/zone
    
    Co-authored-by: Doodle <13706157+critical27@users.noreply.github.com>
    2 people authored and jiayuehua committed Feb 7, 2022
    Configuration menu
    Copy the full SHA
    2b650b7 View commit details
    Browse the repository at this point in the history
  46. replace STRING to name_label for zone's name (#3780)

    Co-authored-by: Doodle <13706157+critical27@users.noreply.github.com>
    2 people authored and jiayuehua committed Feb 7, 2022
    Configuration menu
    Copy the full SHA
    7d641ff View commit details
    Browse the repository at this point in the history
  47. Add test for rc. (#3847)

    * Add test for rc.
    
    * Fix cxx.
    
    Confirm with sophie.xie
    CPWstatic authored and jiayuehua committed Feb 7, 2022
    Configuration menu
    Copy the full SHA
    01f7070 View commit details
    Browse the repository at this point in the history
  48. merge conflicts resolve

    jiayuehua committed Feb 7, 2022
    Configuration menu
    Copy the full SHA
    eff0195 View commit details
    Browse the repository at this point in the history
  49. cpp lint

    jiayuehua committed Feb 7, 2022
    Configuration menu
    Copy the full SHA
    ee2f4e8 View commit details
    Browse the repository at this point in the history

Commits on Feb 8, 2022

  1. Configuration menu
    Copy the full SHA
    6e3baeb View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3567be1 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    6ae9487 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    ffac150 View commit details
    Browse the repository at this point in the history