mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-08-28 10:54:59 +00:00
Merge pull request #126 from umbel/clearbit_bug
added remote termination clause for clearbit
This commit is contained in:
commit
53dc73a1ad
1 changed files with 4 additions and 0 deletions
|
|
@ -430,6 +430,10 @@ func (e *Executor) executeClearBit(db string, c *pql.ClearBit, opt *ExecOptions)
|
|||
}
|
||||
continue
|
||||
}
|
||||
// Do not forward call if this is already being forwarded.
|
||||
if opt.Remote {
|
||||
continue
|
||||
}
|
||||
|
||||
// Forward call to remote node otherwise.
|
||||
if res, err := e.exec(node, db, &pql.Query{Calls: pql.Calls{c}}, nil, opt); err != nil {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue