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

preopen on windows broken #247

Open
tomatolog opened this issue Jun 25, 2019 · 0 comments

Comments

@tomatolog
Copy link
Contributor

commented Jun 25, 2019

This report said about Manticore 3.02 regression when index with preopen = 1 failed to rotate index files on Windows with following message

WARNING: rotating index 'Name': cur to old rename failed: rename d:/path/Name.spd to d:/path/Name.old.spd failed: Broken pipe

the simple reproduce is test 105

diff --git a/test/test_109/test.xml b/test/test_109/test.xml
index fe285c60..2833b9eb 100644
--- a/test/test_109/test.xml
+++ b/test/test_109/test.xml
@@ -13,6 +13,7 @@ searchd
 <searchd_settings/>
 	seamless_rotate = 1
 	workers = threads
+	preopen_indexes = 1
 	binlog_path =
 }

and after this test failed with message at error.txt

caught SIGHUP (seamless=1, in_rotate=0, need_rotate=0)
rotating index 'i1_crc': started
WARNING: rotating index 'i1_crc': cur to old rename failed: rename C:/dev/sphinx/manticore/build/test/data/i1_crc.spd to C:/dev/sphinx/manticore/build/test/data/i1_crc.old.spd failed: Broken pipe
rotating index: all indexes done
caught SIGHUP (seamless=1, in_rotate=0, need_rotate=0)
rotating index 'i1_crc': started
WARNING: rotating index 'i1_crc': cur to old rename failed: rename C:/dev/sphinx/manticore/build/test/data/i1_crc.spd to C:/dev/sphinx/manticore/build/test/data/i1_crc.old.spd failed: Broken pipe
rotating index 'i1_kw': started
WARNING: rotating index 'i1_kw': cur to old rename failed: rename C:/dev/sphinx/manticore/build/test/data/i1_kw.spd to C:/dev/sphinx/manticore/build/test/data/i1_kw.old.spd failed: Broken pipe
rotating index: all indexes done

@tomatolog tomatolog added the bug label Jun 25, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.