Today I did my first successful bulk import using the importMany()
method. It worked fine, but my Node.js script went “radio silent” during the entire call. Thanks fully it was only about 5 minutes, but still, during that time I worried that my script had crashed.
I would like to see a bulk import call that either opened a websocket that delivered status updates of the “imported X out of a total of Y” messages, or perhaps some kind of promise based callback method or whatever works easiest for your devs to create.
If that’s just too big of an ask and the following idea would be easier, an activity update in the WCS console in the cluster detail area would be fine too. Just something, somewhere that we can check to make sure a monolithic bulk import hasn’t just died or got “stuck” would be a life saver.
I know this is a tricky and awkward thing to implement, but it’s really important. I only did about 8000 objects today, but in the future when it reaches tens of thousands or more, it will be a critical workflow item.