Wookieepedia says it was 3 years long, in both versions of canon:
https://starwars.fandom.com/wiki/Clone_Wars
I don’t know where you’re getting this “5 years” thing from, but it isn’t true.
Anakin and Luke had that saber for the same amount of time, so I think calling it Luke’s saber is completely valid.