Skip to content

Ratel error after changing predicate index #187

@danielmai

Description

@danielmai

When I run a predicate re-indexing, the Rate/l UI disappears and the entire window becomes blank.

In Chrome developer tools, I see these errors in the console

Failed to load resource: net::ERR_CONNECTION_REFUSED
react-dom.production.min.js:5058 Error: Minified React error #31; visit https://reactjs.org/docs/error-decoder.html?invariant=31&args[]=Error%3A%20%3A%20context%20deadline%20exceeded&args[]= for the full message or use the non-minified dev environment for full errors and additional helpful warnings.
    at Sa (react-dom.production.min.js:3242)
    at d (react-dom.production.min.js:3336)
    at m (react-dom.production.min.js:3402)
    at react-dom.production.min.js:3533
    at Ao (react-dom.production.min.js:4247)
    at vs (react-dom.production.min.js:6722)
    at lc (react-dom.production.min.js:6150)
    at sc (react-dom.production.min.js:6139)
    at Js (react-dom.production.min.js:5880)
    at react-dom.production.min.js:2851
es @ react-dom.production.min.js:5058
react-dom.production.min.js:3242 Uncaught (in promise) Error: Minified React error #31; visit https://reactjs.org/docs/error-decoder.html?invariant=31&args[]=Error%3A%20%3A%20context%20deadline%20exceeded&args[]= for the full message or use the non-minified dev environment for full errors and additional helpful warnings.
    at Sa (react-dom.production.min.js:3242)
    at d (react-dom.production.min.js:3336)
    at m (react-dom.production.min.js:3402)
    at react-dom.production.min.js:3533
    at Ao (react-dom.production.min.js:4247)
    at vs (react-dom.production.min.js:6722)
    at lc (react-dom.production.min.js:6150)
    at sc (react-dom.production.min.js:6139)
    at Js (react-dom.production.min.js:5880)
    at react-dom.production.min.js:2851
DevTools failed to parse SourceMap: chrome-ext

Steps to reproduce

  1. Run Ratel and go to http://localhost:8000/?latest
  2. Run Dgraph
  3. Go to the Schema tab and update the schema for a predicate. I checked or unchecked the "reverse" checkbox for a [uid] predicate.

I have to refresh Ratel in order to use it again. But, if I re-index a predicate then the windows does blank again.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions