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: paradedb/paradedb
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.17.9
Choose a base ref
...
head repository: paradedb/paradedb
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.17.10
Choose a head ref
  • 9 commits
  • 20 files changed
  • 5 contributors

Commits on Aug 28, 2025

  1. perf: reduce FSM locking overhead (#3065)

    # Ticket(s) Closed
    
    - Closes #
    
    ## What
    
    ## Why
    
    ## How
    
    ## Tests
    eeeebbbbrrrr authored Aug 28, 2025
    1 Configuration menu
    Copy the full SHA
    b8b0d97 View commit details
    Browse the repository at this point in the history
  2. chore: port fsm fixes from main (#3066)

    # Ticket(s) Closed
    
    - Closes #
    
    ## What
    
    ## Why
    
    ## How
    
    ## Tests
    eeeebbbbrrrr authored Aug 28, 2025
    1 Configuration menu
    Copy the full SHA
    c855dfb View commit details
    Browse the repository at this point in the history

Commits on Aug 29, 2025

  1. fix: don't include target_segment_count in background_layer_sizes (#3076

    )
    
    ## What
    
    This removes the (sneaky) addition of an "average layer size" based on
    the configured `target_segment_count` into the list of
    `background_layer_sizes`.
    
    The reason we're removing this is that when this happens on an existing,
    large, unbalanced index, it will cause essentially the entire index to
    be merged in the background, and that's almost never what one would want
    in a production setting.
    
    ## Why
    
    Looking to improve operational problems.
    
    ## How
    
    ## Tests
    
    Co-authored-by: Eric Ridge <eebbrr@gmail.com>
    paradedb-bot and eeeebbbbrrrr authored Aug 29, 2025
    Configuration menu
    Copy the full SHA
    e38c1e2 View commit details
    Browse the repository at this point in the history

Commits on Aug 31, 2025

  1. perf: update tantivy dependency (#3082)

    ## What
    
    This is the 0.17.x-specific version of PR #3081.
    
    ## Why
    
    Our tantivy timeline has forked and so has our dependency points.
    
    ## How
    
    ## Tests
    eeeebbbbrrrr authored Aug 31, 2025
    1 Configuration menu
    Copy the full SHA
    18b62a6 View commit details
    Browse the repository at this point in the history
  2. 1 Configuration menu
    Copy the full SHA
    f7a1efb View commit details
    Browse the repository at this point in the history
  3. fix: cherry pick excluded sub-queries from filter-pushdown (on non-in…

    …dexed fields… (#3089)
    
    …). (#3045)
    
    # Ticket(s) Closed
    
    - Closes #3043 
    
    ## What
    
    Prevents system crashes when `paradedb.enable_filter_pushdown` is
    enabled and heap filter expressions contain subqueries.
    
    ## Why
    
    When `enable_filter_pushdown` is enabled, expressions that cannot be
    pushed down to the index are converted to `Qual::HeapExpr` for
    heap-based evaluation. However, `HeapFieldFilter` uses
    `CreateStandaloneExprContext()` which lacks the infrastructure needed
    for subquery evaluation (subplans, proper executor state), causing
    system crashes when subqueries are present.
    
    ## How
    
    Added subquery detection in `try_pushdown()` using the existing
    `contains_exec_param()` function to identify expressions containing EXEC
    parameters (subqueries). When subqueries are detected, the function
    returns `None` instead of creating a `Qual::HeapExpr`, causing
    PostgreSQL's regular executor to handle the expression safely.
    
    ## Tests
    
    - Added test cases in `unified_expression_comprehensive.sql` with
    subqueries in heap filter expressions
    
    ---------
    
    # Ticket(s) Closed
    
    - Closes #
    
    ## What
    
    ## Why
    
    ## How
    
    ## Tests
    
    Co-authored-by: Moe <mdashti@gmail.com>
    Co-authored-by: Stu Hood <stuhood@paradedb.com>
    3 people authored Aug 31, 2025
    Configuration menu
    Copy the full SHA
    7880880 View commit details
    Browse the repository at this point in the history
  4. perf: FSM conditional locking & other minor drive-bys (#3088)

    ## What
    
    Teach the FSM how to conditionally upgrade its buffer lock to an
    exclusive lock, skipping the page if it can't be acquired (unless it's
    the last page, then we wait).
    
    While here, centralize `std::thread::available_parallelism()` (it
    actually showed up on profiles!) and gate some `pgrx::debug!()`
    statements
    
    ## Why
    
    Trying to remove some overhead that showed up during profiling.
    
    ## How
    
    ## Tests
    
    Co-authored-by: Eric Ridge <eebbrr@gmail.com>
    paradedb-bot and eeeebbbbrrrr authored Aug 31, 2025
    Configuration menu
    Copy the full SHA
    5dbe9f7 View commit details
    Browse the repository at this point in the history
  5. fix: fix failing test (#3094)

    ## What
    
    Our recent changes to tantivy have adjusted the default MemoryArena page
    size from 1MB to 512k, and this actually has a downstream effect of
    allowing indexers to fit more docs in the arena before tantivy calcuates
    that the indexer has exceeded its memory budget.
    
    We have a test that exposed this, so this adjustes the number of
    documents to insert to generate 5 segments.
    
    ## Why
    
    ## How
    
    ## Tests
    
    Co-authored-by: Eric Ridge <eebbrr@gmail.com>
    paradedb-bot and eeeebbbbrrrr authored Aug 31, 2025
    Configuration menu
    Copy the full SHA
    c1cfc7c View commit details
    Browse the repository at this point in the history

Commits on Sep 1, 2025

  1. chore: Upgrade to 0.17.10 (#3091)

    # Ticket(s) Closed
    
    - Closes #
    
    ## What
    
    ## Why
    
    ## How
    
    ## Tests
    rebasedming authored Sep 1, 2025
    Configuration menu
    Copy the full SHA
    cea1e8a View commit details
    Browse the repository at this point in the history
Loading