Hello,
Thanks for providing the outputs.
Your link metrics are not the same as Your neighbor metric and hence You are confusing the LFA algorithm since it checks the reverse metrics too.
> show ospf neighbor Address Interface State ID Pri Dead 192.168.145.49 gr-1/1/0.3 Full 192.168.145.2 128 38 <--your metric 100,
neighbor metric 30 192.168.145.42 gr-2/3/0.2 Full 192.168.145.2 128 34 <--your metric 25,
neighbor metric 20 Neighbor OSPF LSDB details: id 192.168.147.2, data 192.168.145.49, Type PointToPoint (1) Topology count: 0, Default metric: 30 id 192.168.145.48, data 255.255.255.252, Type Stub (3) Topology count: 0, Default metric: 30 id 192.168.147.2, data 192.168.145.42, Type PointToPoint (1) Topology count: 0, Default metric: 20 id 192.168.145.40, data 255.255.255.252, Type Stub (3) Topology count: 0, Default metric: 20
Please align Your OSPF metrics with Your neighbor's metric and report back.
HTH
Thx
Alex