EducationSoftwareStrategy.com
StrategyCommunity

Knowledge Base

Product

Community

Knowledge Base

TopicsBrowse ArticlesDeveloper Zone

Product

Download SoftwareProduct DocumentationSecurity Hub

Education

Tutorial VideosSolution GalleryEducation courses

Community

GuidelinesGrandmastersEvents
x_social-icon_white.svglinkedin_social-icon_white.svg
Strategy logoCommunity

© Strategy Inc. All Rights Reserved.

LegalTerms of UsePrivacy Policy
  1. Home
  2. Topics

KB485517: “Database error <5>: Push Auto Commit failed” error occurs when login developer after metadata database server has been scaled down


Danfeng Zhan

Principal Product Specialist • Strategy


This article narrates connectivity to metadata (pgsql) lost after it is scaled down while Intelligence Server is up and running is due to a code defect. A couple of workarounds are available in the current document. A code fix for this issue is available in MicroStrategy 2021 Update 6.

Symptom


In Strategy 2021, new environments are being provisioned with a larger AWS RDS instance (DB server for metadata) for example. r5.xlarge than default r5.large RDS. Then after provisioning RDS size is being changed from this larger size back to default r5.large. If this is done when Intelligence servers are up and running, it is noticed Intelligence Server are not able to restore connectivity with metadata. 
Logging developer throw below error: (metadata database is PostgreSQL)

ka04W000001IvboQAC_0EM4W000004aFLn.jpeg

Database error <5>: Push Auto Commit failed.
Error type: Odbc error. Odbc operation attempted:
SQLSetConnectOption. Option: SQL_ATTR_AUTOCOMMIT. [08S01:0: on SQLHANDLE] [Strategy][ODBC PostgreSQL Wire Protocol driver]Socket closed.
While in DSSError.log it is full of entries of "Cannot find a function corresponding to background" as shown below:  

[SERVER:CastorServer][PID:25019][THR:140423813486336][Object Server][Error][0x80042700][UID:72D60A76754A79EA65A8578B0C17B240][SID:004390F7E104B0876BB51096676E896D][OID:9B360F3311EA9E99BE090080EF251BAF][CDSSObjectServer.cpp:14568] Cannot find a function corresponding to background....[SERVER:CastorServer][PID:25019][THR:140424701409024][Kernel][Info][UID:0][SID:0][OID:0][MSIConfig.cpp:6528] HTTPSenderThread exits

The connectivity is resumed once Intelligence Server restarted. 
 

Steps to reproduce

  1. Restart Intelligence Server
  2. Scale down metadata database server (this cause temporary metadata outage)
  3. Fail to connect to Intelligence Server via developer login

Below steps do not expose the issue:

  1. Scale down metadata database server (this cause temporary metadata outage)
  2. Restart Intelligence Server after metadata database server is fully back


 

Cause


This is a known issue with Strategy 2021. The connection to the metadata server has broken after temporary metadata outage, but the connection was cached and reused so it continually reports the same error and cannot be recovered. 
 

Action


This issue has been fixed in Strategy 2021 Update 6. Upgrade to this version to take advantage of the fix.
 

Workaround


Manually clean all MD connections from Developer, under "Administration" -> "System Monitors" -> "Database Connections", disconnect all connections with the "Repository Connection" Database Instance flag as shown below: 

ka04W000001IvboQAC_0EM4W000004aFLs.jpeg

 


Comment

0 comments

Details

Knowledge Article

Published:

May 30, 2022

Last Updated:

May 30, 2022