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

Alias swap did not work #326

Open
carolyncole opened this issue Mar 3, 2022 · 0 comments
Open

Alias swap did not work #326

carolyncole opened this issue Mar 3, 2022 · 0 comments

Comments

@carolyncole
Copy link
Member

I had to run the swap by hand, for some reason the swap did not work.

[colec@ltopmaccole pul_solr (main)]$ PRODUCTION_ALIAS=catalog-alma-production REBUILD_ALIAS=catalog-alma-production-rebuild PRODUCTION=catalog-production3 REBUILD=catalog-production2 bundle exec cap solr8-production alias:swap
00:00 alias:swap
      01 curl 'http://localhost:8983/solr/admin/collections?action=DELETEALIAS&name=catalog-alma-producti…
      01   % Total    % Received % Xferd  Averag
      01 e Speed   Time    Time     Tim
      01 e  Current
      01                                  D
      01 load  Uploa
      01 d   Total
      01 Spent
      01 Left  Spe
      01 ed
  0     0
      01  0     0
      01     0     0      0
      01       0 -
      01 -:--:-- -
      01 -:--:-- --:--:--
      01      0
100    55  100    5
      01 5    0     0   3928
      01   0 --:--:-- --:--:-- --:--:--  39
      01 28
      01 {
      01   "responseHeader":{
      01     "status":0,
      01     "QTime":9}}
    ✔ 01 deploy@lib-solr-prod4 0.718s
      02 curl 'http://localhost:8983/solr/admin/collections?action=CREATEALIAS&name=catalog-alma-producti…
      02   % Total    % Received % Xferd  Average Speed   Time    Time
      02    Time  Current
      02
      02                   Dload  Upload   Total   Spe
      02 nt    Left
      02  Speed
  0   02 
      02   0    0
      02    0    0     0
      02
      02 0      0 --:--:--
      02  --:--:--
      02  --:--:--     0
      02 {
      02   "responseHeader":{
      02     "status":400,
      02     "QTime":14},
      02   "Operation createalias caused exception:":"org.apache.solr.common.SolrException:org.apache.sol…
      02   "exception":{
      02     "msg":"Can't create collection alias for collections='catalog-production3', 'catalog-product…
      02     "rspCode":400},
      02   "error":{
      02     "metadata":[
      02       "error-class","org.apache.solr.common.SolrException",
      02       "root-error-class","org.apache.solr.common.SolrException"],
      02     "msg":"Can't create collection alias for collections='catalog-production3', 'catalog-product…
      02     "code":400}}
100   804  100   804    0     0  42315      0 --:--:-- --:--:-- --:--:-- 42315
    ✔ 02 deploy@lib-solr-prod4 0.278s
      03 curl 'http://localhost:8983/solr/admin/collections?action=CREATEALIAS&name=catalog-alma-producti…
      03   % Total    % Received % Xferd
      03   Average Speed   Time
      03    Time     Time  Current
      03
      03
      03                Dloa
      03 d  Upload
      03    Total   Spent    Left  Speed
  0   03 
      03 0    0     0    0
      03 0      0      0 --:--
      03 :-- --:--
      03 :-- --:--:--     0
100   804  100   804    0     0
      03  20615      0 --:--:-- --:--:--
      03 {
      03   "responseHeader":{
      03     "status":400,
      03     "QTime":34},
      03   "Operation createalias caused exception:":"org.apache.solr.common.SolrException:org.apache.sol…
      03   "exception":{
      03     "msg":"Can't create collection alias for collections='catalog-production2', 'catalog-product…
      03     "rspCode":400},
      03   "error":{
      03     "metadata":[
      03       "error-class","org.apache.solr.common.SolrException",
      03       "root-error-class","org.apache.solr.common.SolrException"],
      03     "msg":"Can't create collection alias for collections='catalog-production2', 'catalog-product…
      03     "code":400}}
      03 --:--:-- 20615
    ✔ 03 deploy@lib-solr-prod4 0.348s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant