Advertisement
s0litaire

used_serial error

Jan 30th, 2020
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.65 KB | None | 0 0
  1. Unrecoverable error {"error": "Error during preflight check for storagenode databases: storage node preflight database error: used_serial: expected schema does not match actual:   &dbschema.Schema{
  2.    Tables: []*dbschema.Table{&{Name: \"used_serial_\", Columns: []*dbschema.Column{&{Name: \"expiration\", Type: \"TIMESTAMP\"}, &{Name: \"satellite_id\", Type: \"BLOB\"}, &{Name: \"serial_number\", Type: \"BLOB\"}}}},
  3.    Indexes: []*dbschema.Index{
  4.    &{Name: \"idx_used_serial_\", Table: \"used_serial_\", Columns: []string{\"expiration\"}},
  5. -  &{
  6. -  Name: \"pk_used_serial_\",
  7. -  Table: \"used_serial_\",
  8. -  Columns: []string{\"satellite_id\", \"serial_number\"},
  9. -  },
  10.    },
  11.   }
  12.  
  13. storj.io/storj/storagenode/storagenodedb.(*DB).Preflight:317
  14. main.cmdRun:196
  15. storj.io/storj/pkg/process.cleanup.func1.2:299
  16. storj.io/storj/pkg/process.cleanup.func1:317
  17. github.com/spf13/cobra.(*Command).execute:826
  18. github.com/spf13/cobra.(*Command).ExecuteC:914
  19. github.com/spf13/cobra.(*Command).Execute:864
  20. storj.io/storj/pkg/process.ExecWithCustomConfig:79
  21. storj.io/storj/pkg/process.Exec:61
  22. main.main:326
  23. runtime.main:203", "errorVerbose": "Error during preflight check for storagenode databases: storage node preflight database error: used_serial: expected schema does not match actual:   &dbschema.Schema{
  24.    Tables: []*dbschema.Table{&{Name: \"used_serial_\", Columns: []*dbschema.Column{&{Name: \"expiration\", Type: \"TIMESTAMP\"}, &{Name: \"satellite_id\", Type: \"BLOB\"}, &{Name: \"serial_number\", Type: \"BLOB\"}}}},
  25.    Indexes: []*dbschema.Index{
  26.    &{Name: \"idx_used_serial_\", Table: \"used_serial_\", Columns: []string{\"expiration\"}},
  27. -  &{
  28. -  Name: \"pk_used_serial_\",
  29. -  Table: \"used_serial_\",
  30. -  Columns: []string{\"satellite_id\", \"serial_number\"},
  31. -  },
  32.    },
  33.   }
  34.  
  35. storj.io/storj/storagenode/storagenodedb.(*DB).Preflight:317
  36. main.cmdRun:196
  37. storj.io/storj/pkg/process.cleanup.func1.2:299
  38. storj.io/storj/pkg/process.cleanup.func1:317
  39. github.com/spf13/cobra.(*Command).execute:826
  40. github.com/spf13/cobra.(*Command).ExecuteC:914
  41. github.com/spf13/cobra.(*Command).Execute:864
  42. storj.io/storj/pkg/process.ExecWithCustomConfig:79
  43. storj.io/storj/pkg/process.Exec:61
  44. main.main:326
  45. runtime.main:203
  46. main.cmdRun:198
  47. storj.io/storj/pkg/process.cleanup.func1.2:299
  48. storj.io/storj/pkg/process.cleanup.func1:317
  49. github.com/spf13/cobra.(*Command).execute:826
  50. github.com/spf13/cobra.(*Command).ExecuteC:914
  51. github.com/spf13/cobra.(*Command).Execute:864
  52. storj.io/storj/pkg/process.ExecWithCustomConfig:79
  53. storj.io/storj/pkg/process.Exec:61
  54. main.main:326
  55. runtime.main:203"}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement