Make the `ddev rebuild` command less aggressive
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3497775. -->
Reported by: [pameeela](https://www.drupal.org/user/1431110)
Related to !394
>>>
<h3 id="summary-problem-motivation">Problem/Motivation</h3>
<p>The <code>ddev rebuild</code> command deletes everything which is not really needed and can create a weird situation where things aren't loaded as expected, e.g. the transaction isolation level is not properly set to 'READ COMMITTED' and this results in a warning.</p>
<h4 id="summary-steps-reproduce">Steps to reproduce</h4>
<p>Install Drupal CMS via DDEV, run <code>ddev rebuild</code> and confirm there is a warning about the transaction isolation level on the status report.</p>
<h3 id="summary-proposed-resolution">Proposed resolution</h3>
<p>Update the rebuild command to be less aggressive.</p>
issue