Skip to content

LDC

LDC 12.9.3137

Service Lundalogik Data Component (LDC) Version 12.9.3137 Date published 2024-02-10 Platform Windows Download LDC 12.9.2137 (due to technical limitations in build environment the installer have version -1000 compared to actual module) Included in n/a Manual update How to upgrade LDC

This version of LDC improves stability, resolves reported bugs and introduce support for LISA v2.

Technical Details

  • Unified session handling to enable JSON also for LDC.Attribute
  • Verify timestamp after generating datastructure and retry if changed.
  • Added validation and re-generation of options queries, primarily to support LISA v2
  • Workaround error in logging due to missing settings combined with insufficient privileges.
  • Switched to VS2022 v143 C++ compiler
  • Removed dependency for deprecated .Net Framework v4.0
  • Handle missing transaction for batched update.
  • Added handling of more problematic characters to file-level caching.
  • Worked around potential race-condition for accessing session-table.
  • Extended database level timeout for jobs (ie LISA) to 30 minutes (instead of 5 minutes) for LISA to better cope with slow databases in cloud.
  • Detect and recover from memory fragmentation.
  • Improved support for batch operations via COM interface with compatibility hack for stateless operation.
  • Worked around compatibility issue with LISA and assumptions about stateful batch updates.
  • Reduced risk for locking issues.
  • Worked around problems with trashcan optimization for nested queries.
  • Fixed problem related to mIxEd case and formatting of key names that broke generic support for loading LDC settings from environment variables.
  • Refactored internal mappings to avoid unnecessary usage of database ID.
  • Unified rules for filebased caching.
  • Ensure that large values read from Redis are cached locally to reduce network traffic.
  • Refactored session handling to avoid loading the complete session list.
  • Unified default ttl.
  • Unified mapping between database name and id.
  • Enforce 1h default TTL for all content to avoid problems with stale caches if Redis fails.
  • Improved error reporting for leaked C++ exceptions.
  • Added two-way mapping between database name and id.
  • General support for running LDC without any configuration.
  • Activated caching for XML datastructure for LISA.
  • Improved robustness for optimized trashcan queries.
  • Improved robustness for async updates.
  • Reset update-mode after successfull update.
  • Unified batched updates.
  • Ensure update-flag is only updated for actual updates.
  • Switched default connection strings to use MSOLEDBSQL19, deprecated SQL Server Native Client will now require explicit connection string.
  • Use direct accessor helpers.
  • Added logging for session timestamps.

LDC 12.9.2784

Service Lundalogik Data Component (LDC) Version 12.9.2784 Date published 2023-02-13 Platform Windows Download LDC 12.9.2784 Included in Lime CRM Server 2022.3.1059

This version of LDC will make Lime CRM Server more secure and resolve some bugs.

Technical Details

  • Updated lifetime handling to reduce logging when Redis is not configured.
  • Log and forward root-cause internally and coerce login error only for external API.
  • Fixed bug in time-limited binary backoff that result in eternal busy-wait.

LDC 12.9.2806

Service Lundalogik Data Component (LDC) Version 12.9.2806 Date published 2023-02-24 Platform Windows Download LDC 12.9.2806 Included in Lime CRM Server 2022.3.1066

This version of LDC will make Lime CRM Server more secure and resolve some bugs.

Technical Details

  • Fixed HANDLE-leak for Windows-login
  • Removed unnecessary caching
  • Added default settings for COM+ recycling.
  • Improved logging and error reporting.
  • Improved robustness for error handling.
  • Fixes buffer overrun and memory leak in error reporting.
  • Include details for external errors.
  • Handle empty XML documents.
  • Worked around problems with session handling in LISA.
  • Fixed more issues related to 100% CPU.

LDC 12.9.2816

Service Lundalogik Data Component (LDC) Version 12.9.2816 Date published 2023-03-06 Platform Windows Download LDC 12.9.2816 Included in Lime CRM Server 2022.3.1070

This version of LDC will make Lime CRM Server more secure and resolve some bugs.

Technical Details

  • Fixed memory leak for helpers to access data structure.
  • Added support for logging all calls into SQL over a specified threshold.
  • Updated session logic to exclude sessions with different database id.
  • Skip validation for sessions retrieved from database.
  • Removed [timestamp] filter for active sessions due to mismatch between session lifetime between Python and database.
  • Use hash to avoid too long paths.

LDC 12.9.2725

Service Lundalogik Data Component (LDC) Version 12.9.2725 Date published 2022-12-20 Platform Windows Included in Lime CRM Server 2022.3.1015

This version of LDC will make Lime CRM Desktop Client load and save data faster and more resilient.

Technical Details

  • Improved robustness for deadlocks
    • Isolation: All read operations now default to read uncommitted to reduce problems with deadlocks.
    • Priority: Read operations will have lower priority to avoid blocking (expensive) updates.
    • Stability: Fixed bugs in error handling for deadlocks that previously resulted in crash, which resolved the deadlocks.
  • Improved scalability
    • Large cache objects now stored as files
    • Reduced memory footprint
    • Stateless operation
    • Access to full 4Gb address space
    • Fixed several memory leaks that resulted in memory fragmentation
  • Improved performance
    • Optimized streaming and conversion for data
    • Optimized string and buffer handling
    • Native integration with Redis for persistent caching
    • Native C++-level object model instead of COM+ to avoid internal overhead
  • Improved handling of data structure
    • Full support for multilevel caching (SQL, Redis and COM+)
    • Refactored detection of updates
    • Cache semaphore to avoid multiple parallel execution of expensive operations that populate cache
    • Unified internal model
  • General improvements
    • Fixed internal threading issues
    • Native support for logging crashes
    • More detailed logs for known issues
    • Codebase migrated to modern development tools (C++20, MSVC 2022)

LDC 12.9.2738

Service Lundalogik Data Component (LDC) Version 12.9.2738 Date published 2023-01-20 Platform Windows Download https://builds.lundalogik.com/api/v1/builds/ldc/versions/12.9.1738/file/ Included in Lime CRM Server 2022.3.1048

This version of LDC will make Lime CRM Server more secure and resolve some bugs.

Technical Details

  • Improved input validation to guard against SQL-injection
  • Restored compatibility for filters using StartsWith and EndsWith
  • Improved robustness for caching in solutions with many groups