MicroStrategy / mstrio-py

Python integration for MicroStrategy
Apache License 2.0
89 stars 57 forks source link

Mstrio-py Migration - Migration Fail due to Timeout #174

Open DStavilaNI opened 4 months ago

DStavilaNI commented 4 months ago

Dear Dev Team,

When performing project migrations, with a large number of objects, against an empty (new) project, the operation fails due to timeout errors. Typically, due to the failure, objects are only partially migrated and to overcome this, the migration has to done multiple times in order to complete it.

image

The problem comes from the TIMEOUT set, as a constant, within the package.py module: image

and

image

If the TIMEOUT is increased to a larger value, the migrations can be completed successfully. My question would be if the TIMEOUT can be parametrized (for instance, as a parameter to the migrate_package method) or otherwise set dynamically depending on the size migration ?

Thank you, Denis

mgorskiMicroStrategy commented 2 months ago

@DStavilaNI Hi, thanks for valuable feedback. The migration package is going to be updated with 24.09 release. I will include this issue to be resolved in this update. If you didn't log this issue to support please do so and share CS number here. It will help us make sure that issue is resolved and you will be informed by Support when it will be ready.