Changes between Initial Version and Version 2 of Ticket #128
- Timestamp:
- Feb 28, 2012, 1:34:59 PM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #128
- Property Owner set to
- Property Status new → assigned
- Property Cc added
-
Ticket #128 – Description
initial v2 4 4 [2] http://groups.google.com/group/rasdaman-dev/browse_thread/thread/2fbbe0842583cbc0/8b5d9d4c91065629 5 5 6 I am getting a weird behaviour from the oid operator in rasql, 7 suddenly it gives a non integer oid value for all collections (it is 8 the same for every collection I tested). 9 {{{ 10 $ rasql -q "select oid(t) from MOD_WATERVAPOR_32633_1000 as t" --out 11 string 12 rasql: rasdaman query tool v1.0, rasdaman v8 -- generated on 13 31.01.2012 17:14:19. 14 opening database RASBASE at localhost:7001...ok 15 Executing retrieval query...ok 16 Query result collection has 1 element(s): 17 Result element 1: 2.37934e-317 18 rasql done. 19 }}} 20 After restarting the server with: 21 {{{ 22 stop_rasdaman.sh 23 start_rasdaman.sh 24 }}} 25 everything gets back to normal 26 {{{ 27 $ rasql -q "select oid(t) from MOD_WATERVAPOR_32633_1000 as t" --out 28 string 29 rasql: rasdaman query tool v1.0, rasdaman v8 -- generated on 30 31.01.2012 17:14:19. 31 opening database RASBASE at localhost:7001...ok 32 Executing retrieval query...ok 33 Query result collection has 1 element(s): 34 Result element 1: 213505 35 rasql done. 36 }}} 37 It would appear to be an issue only for the oid() operator and 38 '''displayed output''' since a different query based on oid works as 39 expected: 40 {{{ 41 rasql -q "select csv(m[0:10,0:10]) from mr as m where oid(m)=31745" -- 42 out string 43 }}} 44 But in the meantime anything relying on getting oids with select 45 breaks. 46 6 47 Here follows log excerpt and problem description, ongoing operations were rasgeo insert to a non existing collection that should have been followed by an update. 7 48 {{{ 8 49 --- KERNEL LOG --- 9 50 Feb 28 12:42:26 ras-dev-dar kernel: rasserver[15480]: segfault at 0 ip 00000000004c089b sp 00007fff9ef3bc80 error 4 in rasserver[400000+1a8000] 10 51 }}} 52 {{{ 11 53 --- rasmgr.001504.log --- 12 54 [2012-02-28 12:42:26] client request from 192.168.0.115: 'get server'...ok … … 14 56 Error: rasdaman server N1, pid 15480 terminated illegally, reason: uncaught signal 11 15 57 [2012-02-28 12:42:26] starting server N1, executable /usr/local/rasdaman8.3/bin/rasserver; pid 19987...[2012-02-28 12:42:27] client request from 192.168.0.115: 'get server'...ok 16 58 }}} 59 {{{ 17 60 --- N1.015480.log (last entries) --- 18 61 [2012-02-28 12:42:26] request from 192.168.0.115 … … 24 67 [2012-02-28 12:42:26] request from 192.168.0.115 25 68 Request: 'insert tile'...insertTile created new TransTile (Array), changing endianness... 26 69 }}} 70 {{{ 27 71 --- N1.019987.log (repeated insert, should have been an update --- 28 72 [...] … … 30 74 Request: 'insert into none_TEST_32630_1000 values marray x in [0:0,0:0,149941:149941] values 0c'...parsing...checking semantics...evaluating...ok 31 75 [2012-02-28 12:42:56] request completed in 5703 usecs. 32 76 }}} 77 {{{ 33 78 --- oid(t) output --- 34 79 rasql: rasdaman query tool v1.0, rasdaman v8 -- generated on 31.01.2012 17:14:19. … … 39 84 Result element 2: 2.37934e-317 40 85 rasql done. 41 86 }}} 42 87 Restarting the server N1 via rascontrol solves the oid issue