Probably 5+ years. Institutions learn slowly, especially top down institutions like militaries and governments.
The Ukraine war is 4+ years old, and they are still making significant improvements on their tactics. This is with support and advice from experienced militaries like US and France.