neo4j 2.0.0.rc1-java → 2.0.0.rc2-java

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG CHANGED
@@ -1,3 +1,7 @@
1
+ == 2.0.0.rc2 / 2012-05-04
2
+ * Enable Identity Map by default
3
+ * Added versioning for Neo4j::Core
4
+
1
5
  == 2.0.0.rc1 / 2012-05-03
2
6
  * Fix of rake task to upgrade to 2.0
3
7
  * Various Cypher DSL improvements, core(#3,#4,#5), #196
Binary file
data/lib/db/lock ADDED
File without changes
data/lib/db/messages.log CHANGED
@@ -288,3 +288,292 @@
288
288
  2012-05-03 09:36:01.923+0000: NeoStore closed
289
289
  2012-05-03 09:36:01.924+0000: --- SHUTDOWN diagnostics START ---
290
290
  2012-05-03 09:36:01.924+0000: --- SHUTDOWN diagnostics END ---
291
+ 2012-05-03 12:35:32.210+0000: WARNING! Deprecated configuration options used. See manual for details
292
+ 2012-05-03 12:35:32.215+0000: enable_online_backup has been replaced with online_backup_enabled and online_backup_port
293
+ 2012-05-03 12:35:32.335+0000: Opened [/home/andreas/projects/neo4j/lib/db/nioneo_logical.log.1] clean empty log, version=0, lastTxId=1
294
+ 2012-05-03 12:35:32.374+0000: TM opening log: /home/andreas/projects/neo4j/lib/db/tm_tx_log.1
295
+ 2012-05-03 12:35:32.412+0000: Opened [/home/andreas/projects/neo4j/lib/db/index/lucene.log.1] clean empty log, version=0, lastTxId=1
296
+ 2012-05-03 12:35:32.419+0000: --- STARTUP diagnostics START ---
297
+ 2012-05-03 12:35:32.420+0000: Neo4j Kernel properties:
298
+ read_only=false
299
+ neo4j.ext.udc.host=udc.neo4j.org
300
+ logical_log=/home/andreas/projects/neo4j/lib/db/nioneo_logical.log
301
+ min_node_cache_size=0
302
+ intercept_committing_transactions=false
303
+ node_auto_indexing=false
304
+ remote_shell_name=shell
305
+ cache_type=soft
306
+ intercept_deserialized_transactions=false
307
+ ha.db=NO
308
+ use_adaptive_cache=YES
309
+ lucene_searcher_cache_size=2147483647
310
+ neo4j.ext.udc.interval=86400000
311
+ use_memory_mapped_buffers=true
312
+ ha.coordinators=localhost:2181,localhost:2182,localhost:2183
313
+ timestamps=YES
314
+ rebuild_idgenerators_fast=true
315
+ neostore.propertystore.db.index.keys.mapped_memory=1M
316
+ max_node_cache_size=1500
317
+ neostore.propertystore.db.strings.mapped_memory=130M
318
+ neostore.propertystore.db.arrays.mapped_memory=130M
319
+ gcr_cache_min_log_interval=60s
320
+ relationship_grab_size=100
321
+ relationship_auto_indexing=false
322
+ remote_shell_read_only=false
323
+ lucene_writer_cache_size=2147483647
324
+ storage_path=db
325
+ node_cache_array_fraction=1.0
326
+ allow_store_upgrade=false
327
+ execution_guard_enabled=false
328
+ relationship_cache_array_fraction=1.0
329
+ migration_thread=NO
330
+ remote_logging_host=127.0.0.1
331
+ store_dir=/home/andreas/projects/neo4j/lib/db
332
+ remote_logging_port=4560
333
+ enable_rules=YES
334
+ gc_monitor_threshold=200ms
335
+ load_kernel_extensions=true
336
+ array_block_size=120
337
+ neostore.relationshipstore.db.mapped_memory=50M
338
+ dump_configuration=false
339
+ gc_monitor_wait_time=100ms
340
+ neostore.nodestore.db.mapped_memory=25M
341
+ neo4j.ext.udc.first_delay=600000
342
+ remote_shell_enabled=true
343
+ min_relationship_cache_size=0
344
+ max_relationship_cache_size=3500
345
+ neo4j.ext.udc.reg=unreg
346
+ remote_shell_port=9332
347
+ adaptive_cache_heap_ratio=0.77
348
+ identity_map=NO
349
+ adaptive_cache_manager_decrease_ratio=1.15
350
+ ha.server_id=2
351
+ neo_store=/home/andreas/projects/neo4j/lib/db/neostore
352
+ adaptive_cache_worker_sleep_time=3000
353
+ neostore.propertystore.db.index.mapped_memory=1M
354
+ adaptive_cache_manager_increase_ratio=1.1
355
+ backup_slave=false
356
+ neostore.propertystore.db.mapped_memory=90M
357
+ string_block_size=120
358
+ grab_file_lock=true
359
+ remote_logging_enabled=false
360
+ ha.server=localhost:6002
361
+ neo4j.ext.udc.enabled=true
362
+ 2012-05-03 12:35:32.424+0000: Diagnostics providers:
363
+ org.neo4j.kernel.configuration.Config
364
+ org.neo4j.kernel.info.DiagnosticsManager
365
+ SYSTEM_MEMORY
366
+ JAVA_MEMORY
367
+ OPERATING_SYSTEM
368
+ JAVA_VIRTUAL_MACHINE
369
+ CLASSPATH
370
+ LIBRARY_PATH
371
+ SYSTEM_PROPERTIES
372
+ LINUX_SCHEDULERS
373
+ 2012-05-03 12:35:32.425+0000: System memory information:
374
+ Total Physical memory: 3.87 GB
375
+ Free Physical memory: 1.97 GB
376
+ Committed virtual memory: 918.62 MB
377
+ Total swap space: 4.88 GB
378
+ Free swap space: 3.19 GB
379
+ 2012-05-03 12:35:32.427+0000: JVM memory information:
380
+ Free memory: 85.02 MB
381
+ Total memory: 146.13 MB
382
+ Max memory: 444.50 MB
383
+ Garbage Collector: PS Scavenge: [PS Eden Space, PS Survivor Space]
384
+ Garbage Collector: PS MarkSweep: [PS Eden Space, PS Survivor Space, PS Old Gen, PS Perm Gen]
385
+ Memory Pool: Code Cache (Non-heap memory): committed=2.94 MB, used=2.81 MB, max=48.00 MB, threshold=0.00 B
386
+ Memory Pool: PS Eden Space (Heap memory): committed=99.25 MB, used=45.73 MB, max=155.38 MB, threshold=?
387
+ Memory Pool: PS Survivor Space (Heap memory): committed=5.63 MB, used=4.03 MB, max=5.63 MB, threshold=?
388
+ Memory Pool: PS Old Gen (Heap memory): committed=41.25 MB, used=11.35 MB, max=333.38 MB, threshold=0.00 B
389
+ Memory Pool: PS Perm Gen (Non-heap memory): committed=25.81 MB, used=25.75 MB, max=166.00 MB, threshold=0.00 B
390
+ 2012-05-03 12:35:32.434+0000: Operating system information:
391
+ Operating System: Linux; version: 3.0.0-17-generic; arch: amd64; cpus: 2
392
+ Max number of file descriptors: 4096
393
+ Number of open file descriptors: 59
394
+ Process id: 14573@andreas-dell
395
+ Byte order: LITTLE_ENDIAN
396
+ 2012-05-03 12:35:32.441+0000: JVM information:
397
+ VM Name: OpenJDK 64-Bit Server VM
398
+ VM Vendor: Oracle Corporation
399
+ VM Version: 21.0-b17
400
+ JIT compiler: HotSpot 64-Bit Tiered Compilers
401
+ VM Arguments: [-Djdk.home=, -Djruby.home=/home/andreas/.rvm/rubies/jruby-1.6.7, -Djruby.script=jruby, -Djruby.shell=/bin/sh, -Djffi.boot.library.path=/home/andreas/.rvm/rubies/jruby-1.6.7/lib/native/ppc-Linux:/home/andreas/.rvm/rubies/jruby-1.6.7/lib/native/x86_64-Linux:/home/andreas/.rvm/rubies/jruby-1.6.7/lib/native/i386-Linux, -Xmx500m, -Xss2048k, -Djruby.memory.max=500m, -Djruby.stack.max=2048k, -Xbootclasspath/a:/home/andreas/.rvm/rubies/jruby-1.6.7/lib/jruby.jar]
402
+ 2012-05-03 12:35:32.442+0000: Java classpath:
403
+ [loader.2] file:/usr/lib/jvm/java-7-openjdk-common/jre/lib/ext/sunpkcs11.jar
404
+ [bootstrap] /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/plugin.jar
405
+ [bootstrap] /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/jce.jar
406
+ [loader.0] file:/home/andreas/.rvm/gems/jruby-1.6.7/gems/neo4j-community-1.7.0-java/lib/neo4j-community/jars/neo4j-kernel-1.7.jar
407
+ [bootstrap] /home/andreas/.rvm/rubies/jruby-1.6.7/lib/jruby.jar
408
+ [bootstrap] /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/charsets.jar
409
+ [loader.2] file:/usr/lib/jvm/java-7-openjdk-common/jre/lib/ext/localedata.jar
410
+ [bootstrap] /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/jsse.jar
411
+ [loader.0] file:/home/andreas/.rvm/gems/jruby-1.6.7/gems/neo4j-community-1.7.0-java/lib/neo4j-community/jars/neo4j-udc-1.7.jar
412
+ [bootstrap] /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/sunrsasign.jar
413
+ [bootstrap] /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/rhino.jar
414
+ [loader.2] file:/usr/lib/jvm/java-7-openjdk-common/jre/lib/ext/dnsns.jar
415
+ [loader.0] file:/home/andreas/.rvm/gems/jruby-1.6.7/gems/neo4j-community-1.7.0-java/lib/neo4j-community/jars/neo4j-graph-algo-1.7.jar
416
+ [loader.0] file:/home/andreas/.rvm/gems/jruby-1.6.7/gems/neo4j-community-1.7.0-java/lib/neo4j-community/jars/org.apache.servicemix.bundles.jline-0.9.94_1.jar
417
+ [loader.0] file:/home/andreas/.rvm/gems/jruby-1.6.7/gems/neo4j-community-1.7.0-java/lib/neo4j-community/jars/lucene-core-3.5.0.jar
418
+ [loader.0] file:/home/andreas/.rvm/gems/jruby-1.6.7/gems/neo4j-community-1.7.0-java/lib/neo4j-community/jars/neo4j-cypher-1.7.jar
419
+ [loader.2] file:/usr/lib/x86_64-linux-gnu/jni/libjava-access-bridge-jni.so.0.0.0
420
+ [loader.0] file:/home/andreas/.rvm/gems/jruby-1.6.7/gems/neo4j-community-1.7.0-java/lib/neo4j-community/jars/geronimo-jta_1.1_spec-1.1.1.jar
421
+ [loader.0] file:/home/andreas/.rvm/gems/jruby-1.6.7/gems/neo4j-community-1.7.0-java/lib/neo4j-community/jars/scala-library-2.9.0-1.jar
422
+ [loader.2] file:/usr/lib/jvm/java-7-openjdk-common/jre/lib/ext/sunjce_provider.jar
423
+ [bootstrap] /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/netx.jar
424
+ [bootstrap] /usr/lib/jvm/java-7-openjdk-amd64/jre/classes
425
+ [loader.2] file:/usr/share/java/gnome-java-bridge.jar
426
+ [loader.0] file:/home/andreas/.rvm/gems/jruby-1.6.7/gems/neo4j-community-1.7.0-java/lib/neo4j-community/jars/server-api-1.7.jar
427
+ [bootstrap] /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/rt.jar
428
+ [loader.0] file:/home/andreas/.rvm/gems/jruby-1.6.7/gems/json-1.6.1-java/lib/json/ext/generator.jar
429
+ [loader.2] file:/usr/lib/jvm/java-7-openjdk-common/jre/lib/ext/pulse-java.jar
430
+ [loader.0] file:/home/andreas/.rvm/gems/jruby-1.6.7/gems/json-1.6.1-java/lib/json/ext/parser.jar
431
+ [loader.0] file:/home/andreas/.rvm/gems/jruby-1.6.7/gems/neo4j-community-1.7.0-java/lib/neo4j-community/jars/neo4j-graph-matching-1.7.jar
432
+ [loader.0] file:/home/andreas/.rvm/gems/jruby-1.6.7/gems/neo4j-community-1.7.0-java/lib/neo4j-community/jars/neo4j-shell-1.7.jar
433
+ [bootstrap] /usr/lib/jvm/java-7-openjdk-common/jre/lib/resources.jar
434
+ [loader.0] file:/home/andreas/.rvm/gems/jruby-1.6.7/gems/neo4j-community-1.7.0-java/lib/neo4j-community/jars/neo4j-jmx-1.7.jar
435
+ [classpath + loader.1] file:/home/andreas/projects/neo4j/lib/
436
+ [loader.0] file:/home/andreas/.rvm/gems/jruby-1.6.7/gems/neo4j-community-1.7.0-java/lib/neo4j-community/jars/neo4j-lucene-index-1.7.jar
437
+ [loader.2] file:/usr/lib/jvm/java-7-openjdk-common/jre/lib/ext/zipfs.jar
438
+ 2012-05-03 12:35:32.443+0000: Library path:
439
+ /usr/java/packages/lib/amd64
440
+ /usr/lib/x86_64-linux-gnu/jni
441
+ /lib/x86_64-linux-gnu
442
+ /usr/lib/x86_64-linux-gnu
443
+ /usr/lib/jni
444
+ /lib
445
+ /usr/lib
446
+ 2012-05-03 12:35:32.445+0000: System.properties:
447
+ jruby.home = /home/andreas/.rvm/rubies/jruby-1.6.7
448
+ sun.boot.library.path = /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64
449
+ path.separator = :
450
+ file.encoding.pkg = sun.io
451
+ user.country = US
452
+ sun.java.launcher = SUN_STANDARD
453
+ sun.os.patch.level = unknown
454
+ user.dir = /home/andreas/projects/neo4j/lib
455
+ jdk.home =
456
+ sun.jnu.encoding = UTF-8
457
+ jruby.memory.max = 500m
458
+ sun.management.compiler = HotSpot 64-Bit Tiered Compilers
459
+ jffi.boot.library.path = /home/andreas/.rvm/rubies/jruby-1.6.7/lib/native/ppc-Linux:/home/andreas/.rvm/rubies/jruby-1.6.7/lib/native/x86_64-Linux:/home/andreas/.rvm/rubies/jruby-1.6.7/lib/native/i386-Linux
460
+ user.home = /home/andreas
461
+ user.timezone = Europe/Stockholm
462
+ file.encoding = UTF-8
463
+ jruby.stack.max = 2048k
464
+ jruby.script = jruby
465
+ user.name = andreas
466
+ jruby.shell = /bin/sh
467
+ sun.java.command = org/jruby/Main /home/andreas/.rvm/rubies/jruby-1.6.7/bin/irb
468
+ sun.arch.data.model = 64
469
+ user.language = en
470
+ awt.toolkit = sun.awt.X11.XToolkit
471
+ file.separator = /
472
+ sun.io.unicode.encoding = UnicodeLittle
473
+ sun.cpu.endian = little
474
+ sun.desktop = gnome
475
+ sun.cpu.isalist =
476
+ 2012-05-03 12:35:32.446+0000: Linux scheduler information:
477
+ none
478
+ none
479
+ none
480
+ none
481
+ none
482
+ none
483
+ none
484
+ none
485
+ none
486
+ none
487
+ none
488
+ none
489
+ none
490
+ none
491
+ none
492
+ none
493
+ none
494
+ none
495
+ none
496
+ none
497
+ none
498
+ none
499
+ none
500
+ none
501
+ noop deadline [cfq]
502
+ noop deadline [cfq]
503
+ 2012-05-03 12:35:32.449+0000: --- STARTUP diagnostics END ---
504
+ 2012-05-03 12:35:32.530+0000: Extension org.neo4j.kernel.KernelExtension[kernel jmx] loaded ok
505
+ 2012-05-03 12:35:32.818+0000: Extension org.neo4j.kernel.KernelExtension[shell] loaded ok
506
+ 2012-05-03 12:35:32.826+0000: Extension org.neo4j.kernel.KernelExtension[kernel udc] loaded ok
507
+ 2012-05-03 12:35:32.829+0000: --- STARTUP diagnostics for KernelDiagnostics:Versions START ---
508
+ 2012-05-03 12:35:32.829+0000: Graph Database: org.neo4j.kernel.EmbeddedGraphDatabase StoreId[time:1336037517706, id:6041337887935692899, store version: 13561656364791302]
509
+ 2012-05-03 12:35:32.830+0000: Kernel version: Neo4j - Graph Database Kernel 1.7
510
+ 2012-05-03 12:35:32.830+0000: Neo4j component versions:
511
+ 2012-05-03 12:35:32.830+0000: Neo4j - Graph Database Kernel 1.7
512
+ 2012-05-03 12:35:32.830+0000: --- STARTUP diagnostics for KernelDiagnostics:Versions END ---
513
+ 2012-05-03 12:35:32.832+0000: --- STARTUP diagnostics for NEO_STORE_VERSIONS START ---
514
+ 2012-05-03 12:35:32.833+0000: Store versions:
515
+ Store versions:
516
+ NeoStore v0.A.0
517
+ NodeStore v0.A.0
518
+ RelationshipStore v0.A.0
519
+ RelationshipTypeStore v0.A.0
520
+ PropertyStore v0.A.0
521
+ PropertyIndexStore v0.A.0
522
+ StringPropertyStore v0.A.0
523
+ ArrayPropertyStore v0.A.0
524
+ 2012-05-03 12:35:32.833+0000: --- STARTUP diagnostics for NEO_STORE_VERSIONS END ---
525
+ 2012-05-03 12:35:32.833+0000: --- STARTUP diagnostics for NEO_STORE_ID_USAGE START ---
526
+ 2012-05-03 12:35:32.833+0000: Id usage:
527
+ Id usage:
528
+ NodeStore: used=1 high=0
529
+ RelationshipStore: used=0 high=-1
530
+ RelationshipTypeStore: used=0 high=-1
531
+ PropertyStore: used=0 high=-1
532
+ PropertyIndexStore: used=0 high=-1
533
+ StringPropertyStore: used=1 high=0
534
+ ArrayPropertyStore: used=1 high=0
535
+ 2012-05-03 12:35:32.833+0000: --- STARTUP diagnostics for NEO_STORE_ID_USAGE END ---
536
+ 2012-05-03 12:35:32.833+0000: --- STARTUP diagnostics for KernelDiagnostics:StoreFiles START ---
537
+ 2012-05-03 12:35:32.833+0000: Storage files:
538
+ neostore.relationshiptypestore.db.names: 38.00 B
539
+ neostore.id: 9.00 B
540
+ neostore.relationshiptypestore.db.names.id: 9.00 B
541
+ neostore.nodestore.db.id: 9.00 B
542
+ nioneo_logical.log.1: 16.00 B
543
+ neostore.propertystore.db.index: 0.00 B
544
+ neostore.propertystore.db.strings.id: 9.00 B
545
+ nioneo_logical.log.active: 4.00 B
546
+ neostore.propertystore.db.strings: 128.00 B
547
+ neostore.relationshiptypestore.db.id: 9.00 B
548
+ neostore: 54.00 B
549
+ neostore.nodestore.db: 9.00 B
550
+ neostore.propertystore.db.index.keys.id: 9.00 B
551
+ neostore.propertystore.db.arrays.id: 9.00 B
552
+ messages.log: 26.29 kB
553
+ neostore.relationshipstore.db.id: 9.00 B
554
+ neostore.propertystore.db.arrays: 128.00 B
555
+ neostore.relationshipstore.db: 0.00 B
556
+ neostore.propertystore.db.index.id: 9.00 B
557
+ neostore.propertystore.db.id: 9.00 B
558
+ neostore.propertystore.db: 0.00 B
559
+ index:
560
+ lucene-store.db: 40.00 B
561
+ lucene.log.1: 16.00 B
562
+ lucene.log.active: 4.00 B
563
+ - Total: 60.00 B
564
+ tm_tx_log.1: 0.00 B
565
+ neostore.relationshiptypestore.db: 0.00 B
566
+ lock: 0.00 B
567
+ active_tx_log: 11.00 B
568
+ neostore.propertystore.db.index.keys: 38.00 B
569
+ 2012-05-03 12:35:32.836+0000: --- STARTUP diagnostics for KernelDiagnostics:StoreFiles END ---
570
+ 2012-05-03 12:35:32.838+0000: Started - database is now available
571
+ 2012-05-03 12:35:32.842+0000: GC Monitor started.
572
+ 2012-05-03 15:35:33.120+0000: GC Monitor: Application threads blocked for an additional 124ms [total block time: 0.124s]
573
+ 2012-05-03 16:35:33.241+0000: GC Monitor: Application threads blocked for an additional 111ms [total block time: 0.235s]
574
+ 2012-05-03 17:35:33.360+0000: GC Monitor: Application threads blocked for an additional 119ms [total block time: 0.354s]
575
+ 2012-05-03 19:35:33.600+0000: GC Monitor: Application threads blocked for an additional 103ms [total block time: 0.457s]
576
+ 2012-05-03 20:35:33.719+0000: GC Monitor: Application threads blocked for an additional 103ms [total block time: 0.56s]
577
+ 2012-05-03 20:59:24.476+0000: Stopping - database is now unavailable
578
+ 2012-05-03 20:59:24.553+0000: GC Monitor stopped.
579
+ 2012-05-03 20:59:24.644+0000: TM shutting down
data/lib/db/neostore CHANGED
Binary file
data/lib/db/neostore.id CHANGED
Binary file
@@ -1 +1 @@
1
- ��������NodeStore v0.A.0
1
+ ��������
Binary file
@@ -1 +0,0 @@
1
- PropertyStore v0.A.0
Binary file
@@ -1 +0,0 @@
1
- PropertyIndexStore v0.A.0
@@ -1 +0,0 @@
1
- RelationshipStore v0.A.0
Binary file
Binary file
data/lib/db/tm_tx_log.1 CHANGED
Binary file
data/lib/neo4j/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Neo4j
2
- VERSION = "2.0.0.rc1"
2
+ VERSION = "2.0.0.rc2"
3
3
  end
data/neo4j.gemspec CHANGED
@@ -32,5 +32,5 @@ It comes included with the Apache Lucene document database.
32
32
  s.add_dependency('orm_adapter', ">= 0.0.3")
33
33
  s.add_dependency("activemodel", ">= 3.0.0", "< 3.3")
34
34
  s.add_dependency("railties", ">= 3.0.0", "< 3.3")
35
- s.add_dependency("neo4j-wrapper", '2.0.0.rc1')
35
+ s.add_dependency("neo4j-wrapper", '2.0.0.rc2')
36
36
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: neo4j
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease: 6
5
- version: 2.0.0.rc1
5
+ version: 2.0.0.rc2
6
6
  platform: java
7
7
  authors:
8
8
  - Andreas Ronge
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2012-05-03 00:00:00 Z
13
+ date: 2012-05-04 00:00:00 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: orm_adapter
@@ -59,7 +59,7 @@ dependencies:
59
59
  requirements:
60
60
  - - "="
61
61
  - !ruby/object:Gem::Version
62
- version: 2.0.0.rc1
62
+ version: 2.0.0.rc2
63
63
  type: :runtime
64
64
  version_requirements: *id004
65
65
  description: |
@@ -81,7 +81,6 @@ files:
81
81
  - bin/neo4j-jars
82
82
  - bin/neo4j-shell
83
83
  - bin/neo4j-shell~
84
- - bin/neo4j-upgrade.rb
85
84
  - bin/neo4j-upgrade
86
85
  - lib/neo4j.rb
87
86
  - lib/Gemfile~
@@ -132,6 +131,7 @@ files:
132
131
  - lib/db/neostore.id
133
132
  - lib/db/neostore.relationshiptypestore.db.names.id
134
133
  - lib/db/neostore.nodestore.db.id
134
+ - lib/db/nioneo_logical.log.1
135
135
  - lib/db/neostore.propertystore.db.index
136
136
  - lib/db/neostore.propertystore.db.strings.id
137
137
  - lib/db/nioneo_logical.log.active
@@ -150,9 +150,11 @@ files:
150
150
  - lib/db/neostore.propertystore.db
151
151
  - lib/db/tm_tx_log.1
152
152
  - lib/db/neostore.relationshiptypestore.db
153
+ - lib/db/lock
153
154
  - lib/db/active_tx_log
154
155
  - lib/db/neostore.propertystore.db.index.keys
155
156
  - lib/db/index/lucene-store.db
157
+ - lib/db/index/lucene.log.1
156
158
  - lib/db/index/lucene.log.active
157
159
  - config/locales/en.yml
158
160
  - config/neo4j/config.yml
data/bin/neo4j-upgrade.rb DELETED
@@ -1,75 +0,0 @@
1
- #!/usr/bin/env ruby
2
-
3
- require 'fileutils'
4
- require 'neo4j'
5
-
6
- if ARGV.length == 0
7
- puts <<TEXT
8
- A tool for upgrading the neo4j database to #{Neo4j::VERSION}.
9
- Make sure you shutdown the database cleanly before running this script.
10
- More info: https://github.com/andreasronge/neo4j/wiki
11
-
12
- Usage : neo4j-upgrade <location of database>
13
- Example : neo4j-upgrade db/neo4j-development
14
-
15
- TEXT
16
- exit
17
- end
18
-
19
- def error(msg)
20
- puts msg
21
- exit
22
- end
23
-
24
- def rename_index(folder, file)
25
- new_file = File.join(folder, file.gsub(/-/, '_'))
26
- old_file = File.join(folder, file)
27
- puts "moved index '#{old_file}' to '#{new_file}'"
28
- FileUtils.move(old_file, new_file)
29
- end
30
-
31
- def upgrade(path)
32
- Dir.entries(path).each do |file|
33
- rename_index(path, file) if file =~ /(-exact)|(-fulltext)$/
34
- end
35
- end
36
-
37
- root = ARGV[0]
38
- error("Can't find database at location #{root}") unless File.exist?(root)
39
- error("Expected location #{root} to be a folder") unless File.directory?(root)
40
-
41
- # Upgrade
42
- puts "upgrade database to Neo4j.rb version #{Neo4j::VERSION}, this might take a while ...."
43
- Neo4j::Config[:storage_path] = root
44
- Neo4j::Config[:allow_store_upgrade] = 'true'
45
- Neo4j.start
46
- puts "Neo4j database at #{root} upgraded to #{Neo4j::VERSION}, now shutdown"
47
- Neo4j.shutdown
48
- puts "Rename lucene index files"
49
-
50
- nodes_path = File.join(root, "index", "lucene", "node")
51
- if File.exist?(nodes_path)
52
- upgrade(nodes_path)
53
- else
54
- puts("Can't find lucene index at location #{nodes_path}")
55
- end
56
-
57
-
58
- nodes_path = File.join(root, "index", "lucene", "node")
59
- if File.exist?(nodes_path)
60
- upgrade(nodes_path)
61
- else
62
- puts("No lucene index for nodes found at location #{nodes_path}, continue")
63
- end
64
-
65
- nodes_path = File.join(root, "index", "lucene", "relationship")
66
- if File.exist?(nodes_path)
67
- upgrade(nodes_path)
68
- else
69
- puts("No lucene index for relationship found at location #{nodes_path}")
70
- end
71
-
72
-
73
- # Rename _count__all__classname to _size__all__classname
74
-
75
- puts "Upgraded database done at '#{root}'"