Import Template Performance Issue after upgrade to 4.7.0 from 4.3.1



  • Observed a significant performance degradation with the template import API after upgrading from version 4.3.1 to 4.7.0.
    In 4.3.1, It used to take 15s to 20s to import a template.
    In 4.7.0, It took around 1m.

    Setup:
    Configured azure file share for persistence storage via volume mounts in nodejs app and deployed to azure container app.

    Error:
    fs.lock file permissions: -rwxrwxrwx

    2024-11-14T16:02:31.722Z - debug: import found 5 objects
    Failed to refresh the file system lock [Error: EPERM: operation not permitted, utime '/app/data/fs.lock'] {
    errno: -1,
    code: 'EPERM',
    syscall: 'utime',
    path: '/app/data/fs.lock'
    }

    Failed to refresh the file system lock [Error: EPERM: operation not permitted, utime '/app/data/fs.lock'] {
    errno: -1,
    code: 'EPERM',
    syscall: 'utime',
    path: '/app/data/fs.lock'
    }

    Failed to refresh the file system lock [Error: EPERM: operation not permitted, utime '/app/data/fs.lock'] {
    errno: -1,
    code: 'EPERM',
    syscall: 'utime',
    path: '/app/data/fs.lock'
    }
    2024-11-14T16:03:23.975Z - debug: import finished

    Docker Setup:
    0_1731602286719_upload-0c3e16cc-99ea-45af-80cf-5e1b4a10d6c0



  • I've tried the azure web app with all defaults and azure file share mount with defaults.
    The import of Stock report showcase merge/full takes the same amount of time (10s) for both 4.7.0 and 4.3.1 jsreprot images.

    Would you email me the data you have stored and the export that you are importing?


Log in to reply
 

Looks like your connection to jsreport forum was lost, please wait while we try to reconnect.