Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

checkpoint_start processing is failing during load test #2

Closed
norton opened this issue Jan 18, 2011 · 4 comments
Closed

checkpoint_start processing is failing during load test #2

norton opened this issue Jan 18, 2011 · 4 comments

Comments

@norton
Copy link
Contributor

norton commented Jan 18, 2011

checkpoint_start processing is failing during load test. Needs further investigation.

=ERROR REPORT==== 18-Jan-2011::00:46:53 ===
Error in process <0.22661.0> on node 'hibari@perf03' with exit value: {{badmatch,{error,enoent}},[{b
rick_ets,checkpoint_start,4}]}

@kinogmt
Copy link
Contributor

kinogmt commented Jan 19, 2011

Can you briefly explain how to reproduce this issue?

@norton
Copy link
Contributor Author

norton commented Jan 20, 2011

$ cd workdir-name/hibari/hibari
$ repo sync
$ make check-package

995e742

@kinogmt
Copy link
Contributor

kinogmt commented Jan 20, 2011

This looks like a regression at the following commit.

hibari/gdss-brick@c109249

it used to ignore enoent errors returned from brick_ets:delete_external_bad_sequence_file/1.
But it's now matching with 'ok' and crashing when the file does not exist.

ok = delete_external_bad_sequence_file(S_ro#state.name),

-----------------------------------------------------------------
[kino@bw hibari] bin/hibari start
[kino@bw hibari] bin/hibari attach
Attaching to /tmp//home/kino/work/hibari/hibari/tmp/hibari/erlang.pipe.1 (^D to exit)

Eshell V5.8.2  (abort with ^G)
(hibari@127.0.0.1)1> gmt_util:dbgon(brick_ets,delete_external_bad_sequence_file),brick_server:checkpoint_bricks_and_wait('hibari@127.0.0.1').
(<0.325.0>) call brick_ets:delete_external_bad_sequence_file(tab1_ch1_b1)
(<0.325.0>) returned from brick_ets:delete_external_bad_sequence_file/1 -> {error,
                                                                            enoent}

=ERROR REPORT==== 20-Jan-2011::11:47:59 ===
Error in process <0.325.0> on node 'hibari@127.0.0.1' with exit value: {{badmatch,{error,enoent}},[{brick_ets,checkpoint_start,4}]}


=ERROR REPORT==== 20-Jan-2011::11:47:59 ===
    module: brick_ets
    line: 512
    msg: "checkpoint: pid <0.325.0> died with {{badmatch,{error,enoent}},\n                                     [{brick_ets,checkpoint_start,4}]}\n"
(<0.328.0>) call brick_ets:delete_external_bad_sequence_file(bootstrap_copy1)
(<0.328.0>) returned from brick_ets:delete_external_bad_sequence_file/1 -> {error,
                                                                            enoent}

@kinogmt
Copy link
Contributor

kinogmt commented Jan 20, 2011

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants