Options

How can you test k-safety ?

How can you test k-safety ?

I have a 3 node cluster - I have run DBD and a fairly large query that takes approx 75 sec to run before DBD, after DBD it takes approx. 35 sec to run.

dbadmin=> SELECT DESIGNED_FAULT_TOLERANCE, CURRENT_FAULT_TOLERANCE FROM SYSTEM;

DESIGNED_FAULT_TOLERANCE | CURRENT_FAULT_TOLERANCE
--------------------------+-------------------------
1 | 1
(1 row)

I started the fairly large query, then did a kill -9 on the vertica process on node 3.

This is the msg i got on node 1 -

dbadmin=> \i /home/dbadmin/sql_scripts/test_fact_self_join_wo_sysdate.sql
vsql:/home/dbadmin/sql_scripts/test_fact_self_join_wo_sysdate.sql:8: WARNING 4539: Received no response from v_usac_node0002 in abandon plan
vsql:/home/dbadmin/sql_scripts/test_fact_self_join_wo_sysdate.sql:8: WARNING 4539: Received no response from v_usac_node0002 in roll back transaction
vsql:/home/dbadmin/sql_scripts/test_fact_self_join_wo_sysdate.sql:8: ERROR 4142: Node failure during execution
dbadmin=>

I was kind of expecting the query to finish (albeit a lot slower that even 75 seconds).

Is this not the proper way to look at k-safety? How can I test k-safety in a 3 node cluster?

Answers

Leave a Comment

BoldItalicStrikethroughOrdered listUnordered list
Emoji
Image
Align leftAlign centerAlign rightToggle HTML viewToggle full pageToggle lights
Drop image/file