Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
aade682
feat(mutations): add per-predicate mutation pipeline
darkcoderrises May 5, 2026
db6eafe
chore(posting): strip debug fmt.Println from hot paths
matthewmcneely May 1, 2026
801a32c
chore(posting): remove dead commented-out code
matthewmcneely May 1, 2026
71bb3c0
feat(mutations): gate per-predicate pipeline behind a feature flag
matthewmcneely May 1, 2026
0a60cce
test(worker): document why TestCount is skipped
matthewmcneely May 1, 2026
4d00934
fix(pipeline): scalar Del-of-old-value must not wipe new Set in Proce…
matthewmcneely May 1, 2026
549e450
fix(pipeline): InsertTokenizerIndexes deadlocks on uids >= 2^63
matthewmcneely May 1, 2026
7fd1600
feat(mutations): replace pipeline on/off flag with edge-count threshold
matthewmcneely May 1, 2026
675f242
feat(mutations): flip default mutations-pipeline-threshold from 0 to 1
matthewmcneely May 1, 2026
c86a5f8
fix(posting): re-enable IsEmpty check in IterateDisk
matthewmcneely May 1, 2026
2ca3d19
fix(pipeline): nil-deref in ProcessSingle on multi-Del-per-uid + stri…
matthewmcneely May 2, 2026
508fb85
fix(posting): defensive-copy reused key buffers in ReadPostingList + …
matthewmcneely May 2, 2026
ef3f0de
test(worker): four [uid] @reverse @count regression harnesses
matthewmcneely May 2, 2026
9bd4ef0
test(systest): add query-073 covering reverse counts for all 592 non-…
matthewmcneely May 2, 2026
451a4fc
fix(pipeline): bg-indexed star-delete + scalar Set data-list corruption
matthewmcneely May 4, 2026
5b75c96
fix(pipeline): serialize ProcessVectorIndex to prevent HNSW corruption
matthewmcneely May 4, 2026
b93078d
chore: add description of pipeline feature flag
matthewmcneely May 5, 2026
cad3afe
fix(pipeline): six correctness gaps in MutationPipeline
shiva-istari May 21, 2026
ed8121d
fix(pipeline): two correctness gaps surfaced by alpha integration tests
shiva-istari May 26, 2026
8c23b22
test(posting): create missing schema in the addMutation test helper
shiva-istari Oct 26, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion TESTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ programmatic control over local Dgraph clusters. Most newer integration2 and upg

## Module Structure

The main module is `github.com/hypermodeinc/dgraph`
The main module is `github.com/dgraph-io/dgraph`

The codebase is organized into several key packages:

Expand Down
11 changes: 11 additions & 0 deletions dgraph/cmd/alpha/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -283,6 +283,16 @@ they form a Raft group and provide synchronous replication.
"with structured fields including trace ID for correlation with distributed traces. "+
"Disabled by default (0). Note: enabling this logs query text which may contain "+
"sensitive data; do not enable in deployments with strict data privacy requirements.").
Flag("mutations-pipeline-threshold",
"Per-mutation edge-count threshold for routing through the per-predicate "+
"mutation pipeline, which parallelizes work across distinct predicates "+
"in a single mutation. 0 disables the pipeline entirely (all mutations "+
"take the legacy path). 1 always uses the pipeline. A value N>1 uses "+
"the pipeline only when len(edges) >= N, leaving small interactive "+
"mutations on the legacy path — the pipeline pays per-predicate "+
"goroutine spin-up cost, so tiny mutations are slightly slower on it; "+
"bulk multi-predicate mutations are faster (crossover ~100 edges in "+
"benchmarks here).").
String())

RegisterFlags(flag)
Expand Down Expand Up @@ -810,6 +820,7 @@ func run() {
x.Config.NormalizeCompatibilityMode = featureFlagsConf.GetString("normalize-compatibility-mode")
enableDetailedMetrics := featureFlagsConf.GetBool("enable-detailed-metrics")
x.WorkerConfig.SlowQueryLogThreshold = featureFlagsConf.GetDuration("log-slow-query-threshold")
x.WorkerConfig.MutationsPipelineThreshold = int(featureFlagsConf.GetInt64("mutations-pipeline-threshold"))

x.PrintVersion()
glog.Infof("x.Config: %+v", x.Config)
Expand Down
4 changes: 4 additions & 0 deletions graphql/admin/admin.go
Original file line number Diff line number Diff line change
Expand Up @@ -655,6 +655,10 @@ func newAdminResolver(
return
}

if len(pl.Postings) == 2 && string(pl.Postings[0].Value) == "_STAR_ALL" {
pl.Postings = pl.Postings[1:]
}

// There should be only one posting.
if len(pl.Postings) != 1 {
glog.Errorf("Only one posting is expected in the graphql schema posting list but got %d",
Expand Down
Loading
Loading