pazpar2-moved-to-github.git
14 years agoEnsure that connection is only used by one client
Adam Dickmeiss [Mon, 29 Mar 2010 13:01:33 +0000 (15:01 +0200)]
Ensure that connection is only used by one client

While the host and thereby the connection is locked, we mark the
newly assigned client Client_Working. This is to prevent that one
connection gets used by two clients.

14 years agoLog number of event channels
Adam Dickmeiss [Thu, 25 Mar 2010 13:47:50 +0000 (14:47 +0100)]
Log number of event channels

This is done after select returns in the main event loop.

14 years agoRemove record ingest log msg
Adam Dickmeiss [Thu, 25 Mar 2010 13:47:34 +0000 (14:47 +0100)]
Remove record ingest log msg

14 years agoRemove two YLOG_DEBUG logs
Adam Dickmeiss [Thu, 25 Mar 2010 13:39:33 +0000 (14:39 +0100)]
Remove two YLOG_DEBUG logs

14 years agoChanges to 'item' data by NE and quinn
Sebastian Hammer [Thu, 25 Mar 2010 00:52:15 +0000 (01:52 +0100)]
Changes to 'item' data by NE and quinn

14 years agoChanged output AGAIN
Sebastian Hammer [Wed, 24 Mar 2010 15:36:22 +0000 (15:36 +0000)]
Changed  output AGAIN

14 years agoMerge branch 'master' of ssh://git/home/git/pub/pazpar2
Sebastian Hammer [Wed, 24 Mar 2010 15:35:12 +0000 (15:35 +0000)]
Merge branch 'master' of ssh://git/home/git/pub/pazpar2

14 years agoChaged element names on output
Sebastian Hammer [Wed, 24 Mar 2010 15:34:44 +0000 (15:34 +0000)]
Chaged element names on output

14 years agopar.sh may source a configuration for it
Adam Dickmeiss [Tue, 23 Mar 2010 14:33:47 +0000 (15:33 +0100)]
par.sh may source a configuration for it

Eg. ./par.sh par.config.adam

14 years agoSimplify http_server_destroy
Adam Dickmeiss [Tue, 23 Mar 2010 14:33:43 +0000 (15:33 +0100)]
Simplify http_server_destroy

14 years agoReformat
Adam Dickmeiss [Tue, 23 Mar 2010 11:33:40 +0000 (12:33 +0100)]
Reformat

14 years agoDebugging level "mutex" enables log mutexes
Adam Dickmeiss [Tue, 23 Mar 2010 11:31:20 +0000 (12:31 +0100)]
Debugging level "mutex" enables log mutexes

14 years agoAdded filler for empty circ values, to enable offset-based association between
Sebastian Hammer [Mon, 22 Mar 2010 20:36:22 +0000 (20:36 +0000)]
Added filler for empty circ values, to enable offset-based association between
elements of repeating circ nodes

14 years agoAdded check for null values for availability elements
Sebastian Hammer [Mon, 22 Mar 2010 20:23:04 +0000 (20:23 +0000)]
Added check for null values for availability elements

14 years agoOnly use yaz_icu_iter_t if ICU is enabled for YAZ
Adam Dickmeiss [Mon, 22 Mar 2010 19:00:31 +0000 (20:00 +0100)]
Only use yaz_icu_iter_t if ICU is enabled for YAZ

14 years agoYAZ log level "iochan" for event handling logs
Adam Dickmeiss [Mon, 22 Mar 2010 15:09:26 +0000 (16:09 +0100)]
YAZ log level "iochan" for event handling logs

14 years agoFix print of record diagnostic
Adam Dickmeiss [Mon, 22 Mar 2010 15:09:01 +0000 (16:09 +0100)]
Fix print of record diagnostic

14 years agoclient.sh: using service perf; not perf_t.
Adam Dickmeiss [Mon, 22 Mar 2010 12:52:35 +0000 (13:52 +0100)]
client.sh: using service perf; not perf_t.

14 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2
Adam Dickmeiss [Mon, 22 Mar 2010 12:26:28 +0000 (13:26 +0100)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2

14 years agoUse marc21_test.xsl rather than marc21.xsl
Adam Dickmeiss [Mon, 22 Mar 2010 10:24:53 +0000 (11:24 +0100)]
Use marc21_test.xsl rather than marc21.xsl

14 years agoFix mmap test - mergekey is made from metadata.
Adam Dickmeiss [Mon, 22 Mar 2010 10:24:13 +0000 (11:24 +0100)]
Fix mmap test - mergekey is made from metadata.

14 years agoRemoved collection tag. Removed(Outcommented) mergekey as in marc21.xsl
Dennis Schafroth [Thu, 18 Mar 2010 17:23:45 +0000 (18:23 +0100)]
Removed collection tag. Removed(Outcommented) mergekey as in marc21.xsl

14 years agoenabled easier switch of client script
Dennis Schafroth [Wed, 17 Mar 2010 12:54:55 +0000 (13:54 +0100)]
enabled easier switch of client script

14 years agoscript to generate stat data from timed client runs
Dennis Schafroth [Wed, 17 Mar 2010 12:53:48 +0000 (13:53 +0100)]
script to generate stat data from timed client runs

14 years agonew timed client script
Dennis Schafroth [Wed, 17 Mar 2010 12:52:53 +0000 (13:52 +0100)]
new timed client script

14 years agoAdded port parameter and block=1
Dennis Schafroth [Wed, 17 Mar 2010 12:52:16 +0000 (13:52 +0100)]
Added port parameter and block=1

14 years agoRemoved the unnessesary test for subfield, as indicators have moved back as attributes.
Dennis Schafroth [Mon, 15 Mar 2010 11:23:40 +0000 (12:23 +0100)]
Removed the unnessesary test for subfield, as indicators have moved back as attributes.

14 years agoFirst version of the turbo marc xml stylesheet
Dennis Schafroth [Mon, 15 Mar 2010 11:11:13 +0000 (12:11 +0100)]
First version of the turbo marc xml stylesheet

14 years agoScript that tries to keep a fixed number of clients
Dennis Schafroth [Sun, 14 Mar 2010 10:47:34 +0000 (11:47 +0100)]
Script that tries to keep a fixed number of clients

14 years agoFixed: record -> r. Removed FRBR stuff
Dennis Schafroth [Fri, 12 Mar 2010 15:01:10 +0000 (16:01 +0100)]
Fixed: record -> r. Removed FRBR stuff

14 years agoAdded log when active clients on http_session_destroy
Dennis Schafroth [Wed, 10 Mar 2010 08:27:32 +0000 (09:27 +0100)]
Added log when active clients on http_session_destroy

14 years agoAdded feature to skip execution of pazpar2. It must be running already
Dennis Schafroth [Wed, 10 Mar 2010 08:25:39 +0000 (09:25 +0100)]
Added feature to skip execution of pazpar2. It must be running already

14 years agoother marc21.xsl. New tests for turbomarcxml
Dennis Schafroth [Wed, 10 Mar 2010 08:24:30 +0000 (09:24 +0100)]
other marc21.xsl. New tests for turbomarcxml

14 years agoother marc21.xsl. New tests for turbomarcxml
Dennis Schafroth [Wed, 10 Mar 2010 08:24:26 +0000 (09:24 +0100)]
other marc21.xsl. New tests for turbomarcxml

14 years agoother marc21.xsl. New tests for turbomarcxml
Dennis Schafroth [Wed, 10 Mar 2010 08:24:17 +0000 (09:24 +0100)]
other marc21.xsl. New tests for turbomarcxml

14 years agoother marc21.xsl. New tests for turbomarcxml
Dennis Schafroth [Wed, 10 Mar 2010 08:24:13 +0000 (09:24 +0100)]
other marc21.xsl. New tests for turbomarcxml

14 years agoother marc21.xsl. New tests for turbomarcxml
Dennis Schafroth [Wed, 10 Mar 2010 08:24:02 +0000 (09:24 +0100)]
other marc21.xsl. New tests for turbomarcxml

14 years agoAdded support for turbo xml (txml)
Dennis Schafroth [Wed, 10 Mar 2010 08:22:19 +0000 (09:22 +0100)]
Added support for turbo xml (txml)

14 years agoChanging to the marc21.xsl in etc. Also changing the test_http.cfg to simulate etc...
Dennis Schafroth [Wed, 10 Mar 2010 08:18:48 +0000 (09:18 +0100)]
Changing to the marc21.xsl in etc. Also changing the test_http.cfg to simulate etc setup by adding mergekey

14 years agoupdated eclipse project files
Dennis Schafroth [Wed, 10 Mar 2010 08:12:02 +0000 (09:12 +0100)]
updated eclipse project files

14 years agoUse marc21_test.xsl rather than marc21.xsl
Adam Dickmeiss [Mon, 22 Mar 2010 10:24:53 +0000 (11:24 +0100)]
Use marc21_test.xsl rather than marc21.xsl

14 years agoFix mmap test - mergekey is made from metadata.
Adam Dickmeiss [Mon, 22 Mar 2010 10:24:13 +0000 (11:24 +0100)]
Fix mmap test - mergekey is made from metadata.

14 years agoRemoved collection tag. Removed(Outcommented) mergekey as in marc21.xsl
Dennis Schafroth [Thu, 18 Mar 2010 17:23:45 +0000 (18:23 +0100)]
Removed collection tag. Removed(Outcommented) mergekey as in marc21.xsl

14 years agoenabled easier switch of client script
Dennis Schafroth [Wed, 17 Mar 2010 12:54:55 +0000 (13:54 +0100)]
enabled easier switch of client script

14 years agoscript to generate stat data from timed client runs
Dennis Schafroth [Wed, 17 Mar 2010 12:53:48 +0000 (13:53 +0100)]
script to generate stat data from timed client runs

14 years agonew timed client script
Dennis Schafroth [Wed, 17 Mar 2010 12:52:53 +0000 (13:52 +0100)]
new timed client script

14 years agoAdded port parameter and block=1
Dennis Schafroth [Wed, 17 Mar 2010 12:52:16 +0000 (13:52 +0100)]
Added port parameter and block=1

14 years agoMerge branch 'adam_thread_work' of ssh://git.indexdata.com/home/git/pub/pazpar2 into...
Adam Dickmeiss [Mon, 15 Mar 2010 14:24:48 +0000 (15:24 +0100)]
Merge branch 'adam_thread_work' of ssh://git.indexdata.com/home/git/pub/pazpar2 into adam_thread_work

14 years agoRefactor PP2 charsets handling, use pazpar2_mutex.
Adam Dickmeiss [Mon, 15 Mar 2010 14:21:30 +0000 (15:21 +0100)]
Refactor PP2 charsets handling, use pazpar2_mutex.

pp2_relvance_tokenize split into functions pp2_relvance_tokenize
and pp2_relevance_first. This allows ICU tokenize handlers to be
reused within a thread and makes ingest_to_cluster slightly faster.

14 years agoRemove redundant decl
Adam Dickmeiss [Mon, 15 Mar 2010 14:19:10 +0000 (15:19 +0100)]
Remove redundant decl

14 years agoRequires YAZ 4.0.2
Adam Dickmeiss [Mon, 15 Mar 2010 14:18:42 +0000 (15:18 +0100)]
Requires YAZ 4.0.2

14 years agoAdd yaz_mutex_create wrapper - for debugging
Adam Dickmeiss [Mon, 15 Mar 2010 14:17:07 +0000 (15:17 +0100)]
Add yaz_mutex_create wrapper - for debugging

14 years agoRequire YAZ 4.0.2 (due to ICU iter)
Adam Dickmeiss [Mon, 15 Mar 2010 14:15:43 +0000 (15:15 +0100)]
Require YAZ 4.0.2 (due to ICU iter)

14 years agoAdd name parameter to iochan_create
Adam Dickmeiss [Mon, 15 Mar 2010 14:09:15 +0000 (15:09 +0100)]
Add name parameter to iochan_create

14 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2
Dennis Schafroth [Mon, 15 Mar 2010 11:27:09 +0000 (12:27 +0100)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2

14 years agoRemoved the unnessesary test for subfield, as indicators have moved back as attributes.
Dennis Schafroth [Mon, 15 Mar 2010 11:23:40 +0000 (12:23 +0100)]
Removed the unnessesary test for subfield, as indicators have moved back as attributes.

14 years agoFirst version of the turbo marc xml stylesheet
Dennis Schafroth [Mon, 15 Mar 2010 11:11:13 +0000 (12:11 +0100)]
First version of the turbo marc xml stylesheet

14 years agoScript that tries to keep a fixed number of clients
Dennis Schafroth [Sun, 14 Mar 2010 10:47:34 +0000 (11:47 +0100)]
Script that tries to keep a fixed number of clients

14 years agoObserve number of concurrent record ingests
Adam Dickmeiss [Fri, 12 Mar 2010 23:59:58 +0000 (00:59 +0100)]
Observe number of concurrent record ingests

14 years agoEnable event debug
Adam Dickmeiss [Fri, 12 Mar 2010 23:58:22 +0000 (00:58 +0100)]
Enable event debug

14 years agoLogging channels and mutexes + a few other things
Adam Dickmeiss [Fri, 12 Mar 2010 16:23:35 +0000 (17:23 +0100)]
Logging channels and mutexes + a few other things

14 years agoAdd WAIT between multi-sessions
Adam Dickmeiss [Fri, 12 Mar 2010 16:22:24 +0000 (17:22 +0100)]
Add WAIT between multi-sessions

14 years agoFix connection_is_idle test for idleness
Adam Dickmeiss [Fri, 12 Mar 2010 15:24:01 +0000 (16:24 +0100)]
Fix connection_is_idle test for idleness

Function connection_is_idle no longer returns 1 (idle) if
ZOOM_connection_peek_event returns ZOOM_EVENT_END. The problem is that
when this is returned another thread may still be chewing on a record.

14 years agoMore tuning for bash-based perf test
Adam Dickmeiss [Fri, 12 Mar 2010 15:20:12 +0000 (16:20 +0100)]
More tuning for bash-based perf test

14 years agoFixed: record -> r. Removed FRBR stuff
Dennis Schafroth [Fri, 12 Mar 2010 15:01:10 +0000 (16:01 +0100)]
Fixed: record -> r. Removed FRBR stuff

14 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2
Dennis Schafroth [Fri, 12 Mar 2010 13:55:04 +0000 (14:55 +0100)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2

14 years agoFix SEGV: client.database reference
Adam Dickmeiss [Thu, 11 Mar 2010 14:44:17 +0000 (15:44 +0100)]
Fix SEGV: client.database reference

Ensure client.database (session_database) is set to NULL when it
is no longer associated with a session. If it is NULL, then function
client_get_URL will return "NOURL".

14 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2
Adam Dickmeiss [Thu, 11 Mar 2010 13:58:24 +0000 (14:58 +0100)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2

14 years agoMore complete pazpar2 conf cleanup
Adam Dickmeiss [Thu, 11 Mar 2010 13:57:33 +0000 (14:57 +0100)]
More complete pazpar2 conf cleanup

14 years agoiochan_man_destroy destroys channels
Adam Dickmeiss [Thu, 11 Mar 2010 13:56:34 +0000 (14:56 +0100)]
iochan_man_destroy destroys channels

14 years agoFix uninit var for session act
Adam Dickmeiss [Thu, 11 Mar 2010 13:55:23 +0000 (14:55 +0100)]
Fix uninit var for session act

14 years agoAdd database_hosts_destroy
Adam Dickmeiss [Thu, 11 Mar 2010 13:54:53 +0000 (14:54 +0100)]
Add database_hosts_destroy

14 years agoUse proper extensions
Jakub Skoczen [Thu, 11 Mar 2010 12:36:28 +0000 (13:36 +0100)]
Use proper extensions

14 years agoRemvoe jmeter.log
Jakub Skoczen [Thu, 11 Mar 2010 12:32:13 +0000 (13:32 +0100)]
Remvoe jmeter.log

And introduce changes reported in the previous commit.

14 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2
Jakub Skoczen [Thu, 11 Mar 2010 12:27:18 +0000 (13:27 +0100)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2

14 years agoHit pazpar2 directly (no apache)
Jakub Skoczen [Thu, 11 Mar 2010 12:26:09 +0000 (13:26 +0100)]
Hit pazpar2 directly (no apache)

Also use 40 threads (loop 10 times) and retrieve 50 recs

14 years agoAdd results for jmeter run.
Jakub Skoczen [Thu, 11 Mar 2010 12:25:44 +0000 (13:25 +0100)]
Add results for jmeter run.

14 years agoYLOG_DEBUG for stmt in client_incref
Adam Dickmeiss [Thu, 11 Mar 2010 12:01:51 +0000 (13:01 +0100)]
YLOG_DEBUG for stmt in client_incref

14 years agoRelease record block on show after first chunk
Adam Dickmeiss [Thu, 11 Mar 2010 11:41:59 +0000 (12:41 +0100)]
Release record block on show after first chunk

The client and connection code now fires SESSION_WATCH_SHOW and
SESSION_WATCH_RECORD after all non-blocking events has been received
from some client. Previously this was done on first record received.
Fixes #3318.

14 years agoAdd assert for non-NULL session
Adam Dickmeiss [Thu, 11 Mar 2010 11:41:09 +0000 (12:41 +0100)]
Add assert for non-NULL session

14 years agoLimit Proxy section current proxypass
Adam Dickmeiss [Wed, 10 Mar 2010 14:18:17 +0000 (15:18 +0100)]
Limit Proxy section current proxypass

14 years agoAdded log when active clients on http_session_destroy
Dennis Schafroth [Wed, 10 Mar 2010 08:27:32 +0000 (09:27 +0100)]
Added log when active clients on http_session_destroy

14 years agoAdded feature to skip execution of pazpar2. It must be running already
Dennis Schafroth [Wed, 10 Mar 2010 08:25:39 +0000 (09:25 +0100)]
Added feature to skip execution of pazpar2. It must be running already

14 years agoother marc21.xsl. New tests for turbomarcxml
Dennis Schafroth [Wed, 10 Mar 2010 08:24:30 +0000 (09:24 +0100)]
other marc21.xsl. New tests for turbomarcxml

14 years agoother marc21.xsl. New tests for turbomarcxml
Dennis Schafroth [Wed, 10 Mar 2010 08:24:26 +0000 (09:24 +0100)]
other marc21.xsl. New tests for turbomarcxml

14 years agoother marc21.xsl. New tests for turbomarcxml
Dennis Schafroth [Wed, 10 Mar 2010 08:24:17 +0000 (09:24 +0100)]
other marc21.xsl. New tests for turbomarcxml

14 years agoother marc21.xsl. New tests for turbomarcxml
Dennis Schafroth [Wed, 10 Mar 2010 08:24:13 +0000 (09:24 +0100)]
other marc21.xsl. New tests for turbomarcxml

14 years agoother marc21.xsl. New tests for turbomarcxml
Dennis Schafroth [Wed, 10 Mar 2010 08:24:02 +0000 (09:24 +0100)]
other marc21.xsl. New tests for turbomarcxml

14 years agoAdded support for turbo xml (txml)
Dennis Schafroth [Wed, 10 Mar 2010 08:22:19 +0000 (09:22 +0100)]
Added support for turbo xml (txml)

14 years agoChanging to the marc21.xsl in etc. Also changing the test_http.cfg to simulate etc...
Dennis Schafroth [Wed, 10 Mar 2010 08:18:48 +0000 (09:18 +0100)]
Changing to the marc21.xsl in etc. Also changing the test_http.cfg to simulate etc setup by adding mergekey

14 years agoupdated eclipse project files
Dennis Schafroth [Wed, 10 Mar 2010 08:12:02 +0000 (09:12 +0100)]
updated eclipse project files

14 years agoMerge branch 'thread_work_experiments'
Adam Dickmeiss [Thu, 4 Mar 2010 13:04:03 +0000 (14:04 +0100)]
Merge branch 'thread_work_experiments'

14 years agoLock client while modifying session
Adam Dickmeiss [Thu, 4 Mar 2010 13:01:41 +0000 (14:01 +0100)]
Lock client while modifying session

14 years agoCall reclist_destroy before NMEM is reset
Adam Dickmeiss [Thu, 4 Mar 2010 12:10:21 +0000 (13:10 +0100)]
Call reclist_destroy before NMEM is reset

14 years agoAvoid string concats
Jakub Skoczen [Thu, 4 Mar 2010 12:10:01 +0000 (13:10 +0100)]
Avoid string concats

14 years agoRender/clear HTML faster, bug #2856
Jakub Skoczen [Thu, 4 Mar 2010 11:46:40 +0000 (12:46 +0100)]
Render/clear HTML faster, bug #2856

Uses ideas from http://blog.stevenlevithan.com/archives/faster-than-innerhtml

14 years agoAdd reference counting for client
Adam Dickmeiss [Wed, 3 Mar 2010 14:19:31 +0000 (15:19 +0100)]
Add reference counting for client

14 years agoMore informative message for ingest failures
Adam Dickmeiss [Mon, 1 Mar 2010 13:38:07 +0000 (14:38 +0100)]
More informative message for ingest failures

14 years agoTry to void destroying a session that is in use
Adam Dickmeiss [Tue, 23 Feb 2010 11:25:07 +0000 (12:25 +0100)]
Try to void destroying a session that is in use

14 years agoAvoid using sessions when not needed
Adam Dickmeiss [Tue, 23 Feb 2010 11:23:15 +0000 (12:23 +0100)]
Avoid using sessions when not needed