GithubHelp home page GithubHelp logo

ufds-terror-alert's People

Contributors

arekinath avatar bahamat avatar feetwins avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

isabella232

ufds-terror-alert's Issues

Crash on query after delete

We're seeing the following crash:

Uncaught TypeError: this.render is not a function

FROM
Statement.replacement (/opt/ufds-terror-alert/node_modules/sqlite3/lib/trace.js:27:21)
[ Oct 31 03:51:01 Stopping because process dumped core. ]
[ Oct 31 03:51:01 Executing stop method (:kill). ]

The core isn't very helpful because this crash is inside sqlite.

> ::jsstack -v
native: v8::base::OS::Abort+9
native: v8::internal::Runtime_Throw+0x30
        (1 internal frame elided)
js:     replacement
          file: /opt/ufds-terror-alert/node_modules/sqlite3/lib/trace.js
          posn: line 17
          this: ac1640b5171 (JSObject: Statement)
          
             12 
             13         if (typeof pos === 'undefined') pos = -1;
             14         if (pos < 0) pos += arguments.length;
             15         var cb = arguments[pos];
             16         if (typeof arguments[pos] === 'function') {
             17             arguments[pos] = function replacement() {
             18                 try {
             19                     return cb.apply(this, arguments);
             20                 } catch (err) {
             21                     if (err && err.stack && !err.__augmented) {
             22                         err.stack = filter(err).join('\n');
             23                         err.stack += '\n--> in ' + name;
             24                         err.stack += '\n' + filter(error).slice(1).join('\n');
             25                         err.__augmented = true;
             26                     }
             27                     throw err;
             28                 }
             29             };
             30         }
             31         return old.apply(this, arguments);
             32     };
             33 }
             34 exports.extendTrace = extendTrace;
          
        (1 internal frame elided)
        (1 internal frame elided)
        (1 internal frame elided)
native: v8::internal::Invoke+0xe0
native: v8::internal::Execution::Call+0xae
native: v8::Function::Call+0xff
native: v8::Function::Call+0x41
native: node::MakeCallback+0x10d
native: node::MakeCallback+0x6b
native: node_sqlite3.node`node_sqlite3::Statement::Work_AfterGet+0x166
native: uv__work_done+0xa5
native: uv__async_event+0xab
native: uv__async_io+0x54
native: uv__io_poll+0x251
native: uv_run+0x129
native: node::Start+0x420
native: _start+0x6c
> ac1640b5171::jsprint -v
{
    "sql": "select * from users where uuid = ?",
    "lastID": undefined,
    "changes": undefined,
}

I suspect this has to do with when there are multiple transactions coming through where one is a delete, and the object is deleted from the database before something else is done with it.

Want "watched" accounts

Right now any account that is in readers or operators is watched. I want to have some other non-oper, non-reader accounts on the watch list.

skip invalid keys

The JPC UFDS changelog contains lots of invalid keys that should never have been accepted. Skip them.

want support for "accountStatus" attribute

Currently support staff on the public cloud regularly take actions on "disabled" accounts after they've been "disabled", incl. changing the email, password etc. No notifications should be produced to the original user for such accounts.

We need a way for them to mark these accounts as disabled so that notifications can be blocked. The current proposal is the "accountStatus" attribute. We should process this attribute and block notifications for any user with it set to a value other than "active".

Duplicate operator add

When automated tasks add "poseidon" to the operators group in Manta, they log the addition of the poseidon user to the group again, no matter whether it was already a member. We shouldn't send a new email in this case.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.