diff --git a/content/posts/2020-12.md b/content/posts/2020-12.md index 7c0f36814..3826a79e2 100644 --- a/content/posts/2020-12.md +++ b/content/posts/2020-12.md @@ -592,6 +592,42 @@ java.lang.OutOfMemoryError: Java heap space - I looked in Solr and found dozens of duplicates of each field again... - I sent [feedback to Atmire](https://tracker.atmire.com/tickets-cgiar-ilri/view-ticket?id=839) - I finished the technical work on adding community and collection support to the DSpace Statistics API - - I still need to update the tests as well as the documentation + - I still need to update ~~the tests~~ as well as the documentation +- I started a harvesting of AReS + +## 2020-12-21 + +- The AReS harvest finished this morning and I moved the Elasticsearch index manually +- First, check the number of records in the temp index to make sure it seems complete and not with double data: + +```console +$ curl -s 'http://localhost:9200/openrxv-items-temp/_count?q=*&pretty' +{ + "count" : 100135, + "_shards" : { + "total" : 1, + "successful" : 1, + "skipped" : 0, + "failed" : 0 + } +} +``` + +- Then delete the old backup and clone the current items index as a backup: + +```console +$ curl -XDELETE 'http://localhost:9200/openrxv-items-2020-12-14?pretty' +$ curl -X PUT "localhost:9200/openrxv-items/_settings?pretty" -H 'Content-Type: application/json' -d'{"settings": {"index.blocks.write": true}}' +$ curl -s -X POST http://localhost:9200/openrxv-items/_clone/openrxv-items-2020-12-21 +``` + +- Then delete the current items index and clone it from temp: + +```console +$ curl -XDELETE 'http://localhost:9200/openrxv-items?pretty' +$ curl -X PUT "localhost:9200/openrxv-items-temp/_settings?pretty" -H 'Content-Type: application/json' -d'{"settings": {"index.blocks.write": true}}' +$ curl -s -X POST http://localhost:9200/openrxv-items-temp/_clone/openrxv-items +$ curl -X PUT "localhost:9200/openrxv-items-temp/_settings?pretty" -H 'Content-Type: application/json' -d'{"settings": {"index.blocks.write": false}}' +``` diff --git a/docs/2020-12/index.html b/docs/2020-12/index.html index ab5425bbb..93b1833ae 100644 --- a/docs/2020-12/index.html +++ b/docs/2020-12/index.html @@ -20,7 +20,7 @@ I started processing those (about 411,000 records): - + @@ -46,9 +46,9 @@ I started processing those (about 411,000 records): "@type": "BlogPosting", "headline": "December, 2020", "url": "https://alanorth.github.io/cgspace-notes/2020-12/", - "wordCount": "3242", + "wordCount": "3386", "datePublished": "2020-12-01T11:32:54+02:00", - "dateModified": "2020-12-17T16:50:56+02:00", + "dateModified": "2020-12-20T16:47:45+02:00", "author": { "@type": "Person", "name": "Alan Orth" @@ -727,11 +727,40 @@ java.lang.OutOfMemoryError: Java heap space
  • I finished the technical work on adding community and collection support to the DSpace Statistics API
  • +
  • I started a harvesting of AReS
  • - +

    2020-12-21

    + +
    $ curl -s 'http://localhost:9200/openrxv-items-temp/_count?q=*&pretty'
    +{
    +  "count" : 100135,
    +  "_shards" : {
    +    "total" : 1,
    +    "successful" : 1,
    +    "skipped" : 0,
    +    "failed" : 0
    +  }
    +}
    +
    +
    $ curl -XDELETE 'http://localhost:9200/openrxv-items-2020-12-14?pretty'
    +$ curl -X PUT "localhost:9200/openrxv-items/_settings?pretty" -H 'Content-Type: application/json' -d'{"settings": {"index.blocks.write": true}}'
    +$ curl -s -X POST http://localhost:9200/openrxv-items/_clone/openrxv-items-2020-12-21
    +
    +
    $ curl -XDELETE 'http://localhost:9200/openrxv-items?pretty'
    +$ curl -X PUT "localhost:9200/openrxv-items-temp/_settings?pretty" -H 'Content-Type: application/json' -d'{"settings": {"index.blocks.write": true}}'
    +$ curl -s -X POST http://localhost:9200/openrxv-items-temp/_clone/openrxv-items
    +$ curl -X PUT "localhost:9200/openrxv-items-temp/_settings?pretty" -H 'Content-Type: application/json' -d'{"settings": {"index.blocks.write": false}}'
    +
    diff --git a/docs/categories/index.html b/docs/categories/index.html index 74d182e07..bb03d997a 100644 --- a/docs/categories/index.html +++ b/docs/categories/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/categories/notes/index.html b/docs/categories/notes/index.html index 5dabe1a40..7ef8210e9 100644 --- a/docs/categories/notes/index.html +++ b/docs/categories/notes/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/categories/notes/page/2/index.html b/docs/categories/notes/page/2/index.html index a85735d26..252129ce4 100644 --- a/docs/categories/notes/page/2/index.html +++ b/docs/categories/notes/page/2/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/categories/notes/page/3/index.html b/docs/categories/notes/page/3/index.html index ec565d31e..f0486fe22 100644 --- a/docs/categories/notes/page/3/index.html +++ b/docs/categories/notes/page/3/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/categories/notes/page/4/index.html b/docs/categories/notes/page/4/index.html index 69697ae7f..3b419cbd1 100644 --- a/docs/categories/notes/page/4/index.html +++ b/docs/categories/notes/page/4/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/categories/notes/page/5/index.html b/docs/categories/notes/page/5/index.html index 4716141d5..5f9d778c7 100644 --- a/docs/categories/notes/page/5/index.html +++ b/docs/categories/notes/page/5/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/index.html b/docs/index.html index a9af2d811..2721eb606 100644 --- a/docs/index.html +++ b/docs/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/page/2/index.html b/docs/page/2/index.html index b75e0bb9d..a7343b1e1 100644 --- a/docs/page/2/index.html +++ b/docs/page/2/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/page/3/index.html b/docs/page/3/index.html index 90cf8f41c..8573fe42d 100644 --- a/docs/page/3/index.html +++ b/docs/page/3/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/page/4/index.html b/docs/page/4/index.html index 9cf9fd646..61c4289d8 100644 --- a/docs/page/4/index.html +++ b/docs/page/4/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/page/5/index.html b/docs/page/5/index.html index fddaa951b..38e154975 100644 --- a/docs/page/5/index.html +++ b/docs/page/5/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/page/6/index.html b/docs/page/6/index.html index 7aac547aa..ea907ee55 100644 --- a/docs/page/6/index.html +++ b/docs/page/6/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/page/7/index.html b/docs/page/7/index.html index 25d05d92a..fd01ec584 100644 --- a/docs/page/7/index.html +++ b/docs/page/7/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/posts/index.html b/docs/posts/index.html index 68b36f052..5105cd58c 100644 --- a/docs/posts/index.html +++ b/docs/posts/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/posts/page/2/index.html b/docs/posts/page/2/index.html index 1460555f9..c57cd5ba0 100644 --- a/docs/posts/page/2/index.html +++ b/docs/posts/page/2/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/posts/page/3/index.html b/docs/posts/page/3/index.html index 2e5c98990..73218bb0b 100644 --- a/docs/posts/page/3/index.html +++ b/docs/posts/page/3/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/posts/page/4/index.html b/docs/posts/page/4/index.html index 7f0601955..f138f7924 100644 --- a/docs/posts/page/4/index.html +++ b/docs/posts/page/4/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/posts/page/5/index.html b/docs/posts/page/5/index.html index 27e7a066f..8757b8e41 100644 --- a/docs/posts/page/5/index.html +++ b/docs/posts/page/5/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/posts/page/6/index.html b/docs/posts/page/6/index.html index 787b31138..3872166a6 100644 --- a/docs/posts/page/6/index.html +++ b/docs/posts/page/6/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/posts/page/7/index.html b/docs/posts/page/7/index.html index 59abc7904..dcd610d11 100644 --- a/docs/posts/page/7/index.html +++ b/docs/posts/page/7/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/sitemap.xml b/docs/sitemap.xml index 40a3720cf..55e7400ed 100644 --- a/docs/sitemap.xml +++ b/docs/sitemap.xml @@ -4,27 +4,27 @@ https://alanorth.github.io/cgspace-notes/categories/ - 2020-12-17T16:50:56+02:00 + 2020-12-20T16:47:45+02:00 https://alanorth.github.io/cgspace-notes/ - 2020-12-17T16:50:56+02:00 + 2020-12-20T16:47:45+02:00 https://alanorth.github.io/cgspace-notes/2020-12/ - 2020-12-17T16:50:56+02:00 + 2020-12-20T16:47:45+02:00 https://alanorth.github.io/cgspace-notes/categories/notes/ - 2020-12-17T16:50:56+02:00 + 2020-12-20T16:47:45+02:00 https://alanorth.github.io/cgspace-notes/posts/ - 2020-12-17T16:50:56+02:00 + 2020-12-20T16:47:45+02:00