You do not say the machine make or model but no matter they are all much the same...
So - what happens at 3/4 of the way through a washing cycle?
I would guess the washing water is pumped out to be replaced with rinsing and drying water - I guess your machine has a drain-pump problem.
Here in Europe warranty on stuff is two years - I believe.
In your country that may also be true I don't know.
If you can invoke your warranty then do so through the vendor not the manufacturer.
As for - is it worth replacing? - that depends on how much you might spend on a new machine versus the cost of repair - and your feelings about it. If it were mine I would shoot for the repair - I expect my machines to last for at least 8 or more years. You generally get what you pay for.
I am not an appliance engineer.
Good Luck...
February 2016