Prisma1: Cannot import large scale of lists data

Created on 8 May 2018  Â·  5Comments  Â·  Source: prisma/prisma1

Bug Report

Current behavior

Prisma export is not auto spliting lists make it impossible to import which is happened on my previous thread https://github.com/graphcool/prisma/issues/2175

image

image

I want to update prisma server so I try to backup my data. I can split list file to smaller manualy to import to the server but the database is scaling up every day, so it kind of anoying.

Reproduction

Run prisma export on local enpoint server and get the export.zip file.

Run prisma import -d export.zip to prisma cloud endpoint.

Got error on the console

  "Task slick.basic.BasicBackend$DatabaseDef$$anon$2@445365c8 rejected from slick.util.AsyncExecutor$$anon$2$$anon$1@6aa95118[Running, pool size = 10, active threads = 10, queued tasks = 1000, completed tasks = 98098]",
  "Task slick.basic.BasicBackend$DatabaseDef$$anon$2@358c9655 rejected from slick.util.AsyncExecutor$$anon$2$$anon$1@6aa95118[Running, pool size = 10, active threads = 10, queued tasks = 1000, completed tasks = 98098]",
  "Task slick.basic.BasicBackend$DatabaseDef$$anon$2@7c610941 rejected from slick.util.AsyncExecutor$$anon$2$$anon$1@6aa95118[Running, pool size = 10, active threads = 10, queued tasks = 1000, completed tasks = 98098]",
  "Task slick.basic.BasicBackend$DatabaseDef$$anon$2@5725ecb9 rejected from slick.util.AsyncExecutor$$anon$2$$anon$1@6aa95118[Running, pool size = 10, active threads = 10, queued tasks = 1000, completed tasks = 98098]",
  "Task slick.basic.BasicBackend$DatabaseDef$$anon$2@807aeb0 rejected from slick.util.AsyncExecutor$$anon$2$$anon$1@6aa95118[Running, pool size = 10, active threads = 10, queued tasks = 1000, completed tasks = 98098]",
  "Task slick.basic.BasicBackend$DatabaseDef$$anon$2@5968bfdb rejected from slick.util.AsyncExecutor$$anon$2$$anon$1@6aa95118[Running, pool size = 10, active threads = 10, queued tasks = 1000, completed tasks = 98098]",
  "Task slick.basic.BasicBackend$DatabaseDef$$anon$2@2db78eb6 rejected from slick.util.AsyncExecutor$$anon$2$$anon$1@6aa95118[Running, pool size = 10, active threads = 10, queued tasks = 1000, completed tasks = 98098]",
  "Task slick.basic.BasicBackend$DatabaseDef$$anon$2@550fef9d rejected from slick.util.AsyncExecutor$$anon$2$$anon$1@6aa95118[Running, pool size = 10, active threads = 10, queued tasks = 1000, completed tasks = 98098]",
  "Task slick.basic.BasicBackend$DatabaseDef$$anon$2@60c8a9a2 rejected from slick.util.AsyncExecutor$$anon$2$$anon$1@6aa95118[Running, pool size = 10, active threads = 10, queued tasks = 1000, completed tasks = 98100]",
  "Task slick.basic.BasicBackend$DatabaseDef$$anon$2@7cc25407 rejected from slick.util.AsyncExecutor$$anon$2$$anon$1@6aa95118[Running, pool size = 10, active threads = 10, queued tasks = 999, completed tasks = 98100]",
  "Task slick.basic.BasicBackend$DatabaseDef$$anon$2@6d91b717 rejected from slick.util.AsyncExecutor$$anon$2$$anon$1@6aa95118[Running, pool size = 10, active threads = 10, queued tasks = 1000, completed tasks = 98104]"

What I did to make it work

Unzip export.zip

Split 000001.json from lists folder to 5 or 6 pieaces.

Run prisma reset and prisma import -d export-folder and it should work.

Expected behavior?

Auto split list data on export.

bu2-confirmed areengine statustale

All 5 comments

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

I’m having the same issue — have you been able to fix it?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

akoenig picture akoenig  Â·  3Comments

sorenbs picture sorenbs  Â·  3Comments

thomaswright picture thomaswright  Â·  3Comments

dohomi picture dohomi  Â·  3Comments

schickling picture schickling  Â·  3Comments