Advertisement
s0litaire

Storj-db-error

Jan 30th, 2020
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.97 KB | None | 0 0
  1. Unrecoverable error {"error": "Error during preflight check for storagenode databases: storage node preflight database error: orders: expected schema does not match actual: &dbschema.Schema{
  2. Tables: []*dbschema.Table{&{Name: \"order_archive_\", Columns: []*dbschema.Column{&{Name: \"archived_at\", Type: \"TIMESTAMP\"}, &{Name: \"order_limit_serialized\", Type: \"BLOB\"}, &{Name: \"order_serialized\", Type: \"BLOB\"}, &{Name: \"satellite_id\", Type: \"BLOB\"}, &{Name: \"serial_number\", Type: \"BLOB\"}, &{Name: \"status\", Type: \"INTEGER\"}, &{Name: \"uplink_cert_id\", Type: \"INTEGER\", Reference: &dbschema.Reference{Table: \"certificate\", Column: \"cert_id\"}}}}, &{Name: \"unsent_order\", Columns: []*dbschema.Column{&{Name: \"order_limit_expiration\", Type: \"TIMESTAMP\"}, &{Name: \"order_limit_serialized\", Type: \"BLOB\"}, &{Name: \"order_serialized\", Type: \"BLOB\"}, &{Name: \"satellite_id\", Type: \"BLOB\"}, &{Name: \"serial_number\", Type: \"BLOB\"}, &{Name: \"uplink_cert_id\", Type: \"INTEGER\", Reference: &dbschema.Reference{Table: \"certificate\", Column: \"cert_id\"}}}}},
  3. Indexes: []*dbschema.Index{
  4. &{Name: \"idx_order_archived_at\", Table: \"order_archive_\", Columns: []string{\"archived_at\"}},
  5. - &{
  6. - Name: \"idx_orders\",
  7. - Table: \"unsent_order\",
  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: orders: expected schema does not match actual: &dbschema.Schema{
  24. Tables: []*dbschema.Table{&{Name: \"order_archive_\", Columns: []*dbschema.Column{&{Name: \"archived_at\", Type: \"TIMESTAMP\"}, &{Name: \"order_limit_serialized\", Type: \"BLOB\"}, &{Name: \"order_serialized\", Type: \"BLOB\"}, &{Name: \"satellite_id\", Type: \"BLOB\"}, &{Name: \"serial_number\", Type: \"BLOB\"}, &{Name: \"status\", Type: \"INTEGER\"}, &{Name: \"uplink_cert_id\", Type: \"INTEGER\", Reference: &dbschema.Reference{Table: \"certificate\", Column: \"cert_id\"}}}}, &{Name: \"unsent_order\", Columns: []*dbschema.Column{&{Name: \"order_limit_expiration\", Type: \"TIMESTAMP\"}, &{Name: \"order_limit_serialized\", Type: \"BLOB\"}, &{Name: \"order_serialized\", Type: \"BLOB\"}, &{Name: \"satellite_id\", Type: \"BLOB\"}, &{Name: \"serial_number\", Type: \"BLOB\"}, &{Name: \"uplink_cert_id\", Type: \"INTEGER\", Reference: &dbschema.Reference{Table: \"certificate\", Column: \"cert_id\"}}}}},
  25. Indexes: []*dbschema.Index{
  26. &{Name: \"idx_order_archived_at\", Table: \"order_archive_\", Columns: []string{\"archived_at\"}},
  27. - &{
  28. - Name: \"idx_orders\",
  29. - Table: \"unsent_order\",
  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