citusdata / citusdata/citus

session-local GUCs aren't propagated to workers

Open
#462 10 comments 3 reactions 0 assignees View on GitHub
feature
Dominant language
C
Stars
12.8k
Forks
794
Avg merge
2d 14h
Merged PRs (30d)
31

Description

Right now every query sent from the master to the workers is run in a new session. This means there's currently no way of sending hints like `enable_seqscan` or `application_name` to the workers for some queries but not others.

Contributor guide

Open the contributing guide

Research direction

No files, tests, or entry points are named. Start by tracing how the master opens worker sessions and dispatches queries, then identify the existing session-setting path. Done means query-specific session-local settings such as enable_seqscan and application_name are available to workers without affecting unrelated queries.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, postgresql
Domain
databases, distributed-systems
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.