Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: infiniflow/infinity
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.6.1
Choose a base ref
...
head repository: infiniflow/infinity
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref
  • 20 commits
  • 180 files changed
  • 4 contributors

Commits on Oct 21, 2025

  1. Enable periodical cleanup, fix cleanup issue (#3039)

    ### What problem does this PR solve?
    
    1. Enable periodical cleanup
    2. Cleanup decides which items to clean by the drop timestamp of the
    items, but the drop timestamp is not correct.
    3. Skip removing empty files of fulltext index
    
    ### Type of change
    
    - [x] Bug Fix (non-breaking change which fixes an issue)
    qinling0210 authored Oct 21, 2025
    Configuration menu
    Copy the full SHA
    92939d3 View commit details
    Browse the repository at this point in the history

Commits on Oct 22, 2025

  1. Fix RecursiveCleanupAllEmptyDir (#3040)

    ### What problem does this PR solve?
    
    We should only clean up empty directories instead of empty files.
    
    ### Type of change
    
    - [x] Bug Fix (non-breaking change which fixes an issue)
    qinling0210 authored Oct 22, 2025
    Configuration menu
    Copy the full SHA
    ad4c2fc View commit details
    Browse the repository at this point in the history
  2. Added release.sh

    yuzhichang committed Oct 22, 2025
    Configuration menu
    Copy the full SHA
    28452b4 View commit details
    Browse the repository at this point in the history
  3. fix 'optimize' and 'alter index' (#3036)

    ## Summary
    This PR replaces `OPTIMIZE IDENTIFIER` syntax with `ALTER IDENTIFIER` to
    better align with SQL standards
    
    ## Changes
    - Modified corresponding grammar rules in the parser
    - Modified corresponding logical and physical operators
    - Modified corresponding test code
    
    ---------
    
    Signed-off-by: jinhai <[email protected]>
    Co-authored-by: jinhai <[email protected]>
    zpf121 and JinHai-CN authored Oct 22, 2025
    Configuration menu
    Copy the full SHA
    d3724f7 View commit details
    Browse the repository at this point in the history
  4. Fix cleanup issue (#3044)

    ### What problem does this PR solve?
    Issue:
    In the following scenario, cleanup txn cleans the table dropped, but the
    entities are still needed by optimize.
    
    ```
    *--Optimize------------------------------------------------------
                  * -Drop table-*    *-Checkpoint-*   *-Cleanup-*
    ```
    
    Solution:
    We will only clean up entities dropped before both the begin timestamp
    of active transactions and the latest checkpoint, ensuring the entities
    are no longer needed.
    ### Type of change
    
    - [x] Bug Fix (non-breaking change which fixes an issue)
    qinling0210 authored Oct 22, 2025
    Configuration menu
    Copy the full SHA
    c51fa75 View commit details
    Browse the repository at this point in the history
  5. CPack TGZ (#3045)

    ### What problem does this PR solve?
    
    CPack TGZ
    
    
    ### Type of change
    
    - [x] Other (please describe): CI
    yuzhichang authored Oct 22, 2025
    Configuration menu
    Copy the full SHA
    ec96729 View commit details
    Browse the repository at this point in the history
  6. Mount directory /var/infinity (#3041)

    ### What problem does this PR solve?
    
    There is error "No such file or directory [/var/infinity/wal/wal.log'"
    sometimes on unit test, mount /var/infinity to check the file on error
    next time.
    
    ### Type of change
    
    - [x] Other (please describe): tests.yml
    qinling0210 authored Oct 22, 2025
    Configuration menu
    Copy the full SHA
    d4fbe60 View commit details
    Browse the repository at this point in the history

Commits on Oct 23, 2025

  1. Add wal file and directory printout when file doesn't exist (#3043)

    ### What problem does this PR solve?
    
    To detect why the wal.log is missing.
    
    ### Type of change
    
    - [x] Refactoring
    
    ---------
    
    Signed-off-by: Jin Hai <[email protected]>
    JinHai-CN authored Oct 23, 2025
    Configuration menu
    Copy the full SHA
    a3d9294 View commit details
    Browse the repository at this point in the history
  2. Add cache mutex (#3047)

    ### What problem does this PR solve?
    
    heap-buffer-overflow occurs while calling AddCacheInfo(). It seems 2
    threads are writing to vector at the same time.
    
    ```
       #5 0x560339e634b5 in infinity::NewTxn@infinity_core::AddCacheInfo(std::shared_ptr<infinity::CacheInfo@infinity_core> const&) /infinity/src/storage/new_txn/new_txn_impl.cpp:5474:88
        #6 0x560338c97366 in infinity::SegmentMeta@infinity_core::LoadFirstDeleteTS() /infinity/src/storage/catalog/meta/segment_meta_impl.cpp:157:28
    ```
    
    ### Type of change
    
    - [ ] Bug Fix (non-breaking change which fixes an issue)
    qinling0210 authored Oct 23, 2025
    Configuration menu
    Copy the full SHA
    b5dc087 View commit details
    Browse the repository at this point in the history
  3. Fix "wal.log does not exist" issue (#3049)

    ### What problem does this PR solve?
    
    delete_ut.cpp failed with error "wal.log is not found" intermittently. 
    
    At the end of the testunit, db directory is removed explicitly. At the
    same time wal manager is still working in NewFlush().
    wal.log is needed in NewFlush().
    We should not call RemoveDbDirs() at the end of the testunit, db
    directory will be cleaned in TearDown().
    
    ### Type of change
    
    - [x] Test cases
    qinling0210 authored Oct 23, 2025
    Configuration menu
    Copy the full SHA
    d7bf103 View commit details
    Browse the repository at this point in the history

Commits on Oct 27, 2025

  1. Add more pd info (#3046)

    ### What problem does this PR solve?
    
    Restart test failed on test_insert.py::TestInsert::test_index with error
    "Unhandled Exception: Chunk index row alignment error" occasionally, add
    more pd to help analyze the issue .
    
    ### Type of change
    
    - [x] Bug Fix (non-breaking change which fixes an issue)
    qinling0210 authored Oct 27, 2025
    Configuration menu
    Copy the full SHA
    94a35f8 View commit details
    Browse the repository at this point in the history
  2. Fix Persist() during checkpoint (#3050)

    ### What problem does this PR solve?
    
    restart_test/test_insert.py::TestInsert::test_index in slow test failed
    intermittently.
    
    * ------checkpoint----- append ------- checkpoint-------
    *--------------------------------------------------   |
    *--------------------------------------------------   killed
    
    During the first checkpoint, it persists block data to obj in pm.
    append updates the block data.
    During the 2nd checkpoint, it removes the old obj from pm and persists
    block data to new obj in pm.
    The error occurs when instance is killed after old obj is removed from
    pm but new obj is not written.
    
    We should persists block data to new obj in pm and then remove old obj
    from pm during Persist().
    
    ### Type of change
    
    - [x] Bug Fix (non-breaking change which fixes an issue)
    qinling0210 authored Oct 27, 2025
    Configuration menu
    Copy the full SHA
    2875eb0 View commit details
    Browse the repository at this point in the history

Commits on Oct 29, 2025

  1. Fix compilation on AVX512 (#3053)

    ### What problem does this PR solve?
    
    Fix compilation on AVX512
    
    
    ### Type of change
    
    - [x] Bug Fix (non-breaking change which fixes an issue)
    yuzhichang authored Oct 29, 2025
    Configuration menu
    Copy the full SHA
    5b42e6c View commit details
    Browse the repository at this point in the history
  2. Update version info (#3054)

    ### What problem does this PR solve?
    
    Update version info to 0.6.2
    
    ### Type of change
    
    - [x] Bug Fix (non-breaking change which fixes an issue)
    
    Signed-off-by: Jin Hai <[email protected]>
    JinHai-CN authored Oct 29, 2025
    Configuration menu
    Copy the full SHA
    5dd3f6a View commit details
    Browse the repository at this point in the history
  3. Fix CI workflows

    yuzhichang committed Oct 29, 2025
    Configuration menu
    Copy the full SHA
    f60677e View commit details
    Browse the repository at this point in the history

Commits on Oct 30, 2025

  1. Make optimize execute in background thread (optimize processor) (#3055)

    ### What problem does this PR solve?
    
    Create optimize processor to execute both periodical triggered optimize
    operation and manual optimize command.
    
    ### Type of change
    
    - [x] Bug Fix (non-breaking change which fixes an issue)
    - [x] Refactoring
    qinling0210 authored Oct 30, 2025
    Configuration menu
    Copy the full SHA
    e863cc2 View commit details
    Browse the repository at this point in the history
  2. Ignore lcov error in tests.yml (#3056)

    ### What problem does this PR solve?
    
    After each test, we expect infinity*.profraw is generated completely
    within 30s.
    If infinity*.profraw is still empty after 30s, log it and do not exit
    with error.
    
    ### Type of change
    
    - [x] Bug Fix (non-breaking change which fixes an issue)
    qinling0210 authored Oct 30, 2025
    Configuration menu
    Copy the full SHA
    5ff1d2a View commit details
    Browse the repository at this point in the history
  3. Removed twine with uv

    yuzhichang committed Oct 30, 2025
    Configuration menu
    Copy the full SHA
    6cd9363 View commit details
    Browse the repository at this point in the history

Commits on Oct 31, 2025

  1. Supplement the documentation with table snapshot APIs.​ (#3057)

    Implemented snapshot management APIs in **http_api_reference.mdx** and
    **pysdk_api_reference.md**, including **create_table_snapshot**,
    **restore_table_snapshot**, and **drop_snapshot**.
    
    ---------
    
    Signed-off-by: jinhai <[email protected]>
    Co-authored-by: jinhai <[email protected]>
    zpf121 and JinHai-CN authored Oct 31, 2025
    Configuration menu
    Copy the full SHA
    a256cae View commit details
    Browse the repository at this point in the history
  2. Add python, http interface for alter index (#3058)

    ### What problem does this PR solve?
    
    1) Add python, http interface for alter index
    2) Add http interface for dump index
    3) Modify testcases and docs
    
    ### Type of change
    
    - [x] Bug Fix (non-breaking change which fixes an issue)
    - [x] Documentation Update
    - [x] Test cases
    qinling0210 authored Oct 31, 2025
    Configuration menu
    Copy the full SHA
    a125df3 View commit details
    Browse the repository at this point in the history
Loading