Problem with saving nodes to database

Created on 30 October 2018, almost 7 years ago
Updated 8 January 2025, 8 months ago

I am currently trying to debug a very strange problem with a Drupal 7 setup.

Sometimes on node save or node update operations the insert or change is not persisted to the database, although Drupal shows success messages and in case of insert operations even a node id seems to be given as this one is left out in the node table. But there are no remains wheresoever in the Database of that node. This is only happening intermittently, but still regulary (but not in common intervals).

Logfiles do not give any hints about this, everything seems to be going well.

The setup consists of multiple web servers that are connected to one database server.

It looks like it has something to do with the database, so I am currently digging around and found that Database::getConnectionInfo('default');
gives me two entries and one of them is created by ultimate cron via ultimate_cron_init():
Database::addConnectionInfo('default', 'ultimate_cron', $info['default']);

So might it be possible that the problem is related to this?

I see that I can set a variable 'ultimate_cron_bypass_transactional_safe_connection' to prevent ultimate cron adding that second connection. But what is this second connection about?

Would be great if someone could give some insights on this.

Thanks a lot.

💬 Support request
Status

Closed: outdated

Version

2.3

Component

Code

Created by

🇩🇪Germany stefan.korn Jossgrund

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇩🇰Denmark arnested

    I'm closing this since Drupal 7 is now unsupported and there will be no more development on the Drupal 7 branch of Ultimate Cron either.

    Thank you for taking the time and effort in reporting this issue, even though it never got resolved.

Production build 0.71.5 2024