You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have narrowed down circumstances in which Drupal reassigns node IDs. The conditions for this to happen are that that no nodes exist (in other words, the highest node ID value at the time is 0), and it only happens just after you boot the Vagrant. You can replicate this behavior by doing the following:
delete all nodes from your Vagrant and vagrant halt it.
vagrant up it.
create a new node (content type doesn't matter).
it will have the node ID of 1.
I am assuming that this behavior is a side effect of how MySQL's autoincrement fields work, so it should not be a problem in production (where you wouldn't be restarting at 0). But, at least I can say I was not imagining this.
The text was updated successfully, but these errors were encountered:
I have narrowed down circumstances in which Drupal reassigns node IDs. The conditions for this to happen are that that no nodes exist (in other words, the highest node ID value at the time is 0), and it only happens just after you boot the Vagrant. You can replicate this behavior by doing the following:
vagrant halt
it.vagrant up
it.I am assuming that this behavior is a side effect of how MySQL's autoincrement fields work, so it should not be a problem in production (where you wouldn't be restarting at 0). But, at least I can say I was not imagining this.
The text was updated successfully, but these errors were encountered: