wy-p0c7ut: remove dead mixed-bucket filter wrapper
This commit is contained in:
parent
2878c5373c
commit
0efe0adf5e
1 changed files with 0 additions and 11 deletions
|
|
@ -386,17 +386,6 @@ func ValidateCreateIssuesMixedBucketDependencies(issues []*types.Issue) error {
|
|||
return err
|
||||
}
|
||||
|
||||
// FilterCreateIssuesMixedBucketDependencies applies the same cross-bucket
|
||||
// dependency policy as CreateIssuesInTx, but over the full issue set. Callers
|
||||
// that split one logical batch into bounded sub-batches (chunked import) must
|
||||
// run this once up front: the per-batch filter inside the engine only sees one
|
||||
// sub-batch, so it could no longer detect an edge whose endpoints land in
|
||||
// different chunks. Filtered edges are reported via opts.OnSkippedDependency;
|
||||
// issues whose dependency list changes are copied, never mutated.
|
||||
func FilterCreateIssuesMixedBucketDependencies(issues []*types.Issue, opts storage.BatchCreateOptions) ([]*types.Issue, error) {
|
||||
return filterCreateIssuesMixedBucketDependencies(issues, opts)
|
||||
}
|
||||
|
||||
func filterCreateIssuesMixedBucketDependencies(issues []*types.Issue, opts storage.BatchCreateOptions) ([]*types.Issue, error) {
|
||||
batchWispByID := make(map[string]bool, len(issues))
|
||||
hasRegular := false
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue