mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-09-11 07:11:02 +00:00
more logging
This commit is contained in:
parent
b1ff3791b8
commit
6e20e6439f
1 changed files with 2 additions and 0 deletions
|
|
@ -1322,7 +1322,9 @@ func (f *TxFactory) green2blue(holder *Holder) (err error) {
|
|||
if err != nil {
|
||||
return errors.Wrap(err, "TxFactory.green2blue f.greenHasData()")
|
||||
}
|
||||
vv("blueHasData = %v, greenHasData = %v", blueHasData, greenHasData)
|
||||
if !greenHasData {
|
||||
holder.Logger.Printf("error: cannot migrate from green '%v' because it has no data in it.", greenSrc)
|
||||
return fmt.Errorf("error: cannot migrate from green '%v' because it has no data in it.", greenSrc)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue