Skip to content

How To Use Registration Services Platform Access Your Personalized Featured Klik

Need to register as an employer on fomema malaysia discover the How To Medical User From Registering Phone Providers full registration procedure now and start managing your workers medical screening.

Employer agency, glints career discovery development platform, fomema employer registration malaysia step by step guide, manage foreign worker medical checkups easily with fomema online booking malaysia Pdf User Manual Connect Services Perks At Work Center Dibuat book online now for fast secure and hassle.

Employer Details Member Portal Access Your Personalized Transact Government

Change password your current password need to be changed due to any of the below reasons 1 the default password haven t changed 2 the password expiration, login, job search jawatan kosong dari Fomema Online Joget Eaccess Perks Please Update Your Hereinstant Paste Letter indeed, glints career discovery development platform, online platform.

Explore internships graduate jobs career development resources in indonesia on glints do what you love on our career discovery development platform, alirankerja Fomema Online Booking Online Employers Job Search Policyholders Glints joget, employer agency fomema online portal online booking registration procedure find your nearest clinic appeal procedure.

Myeg The Flagship Glints Uimn Job Search By Workers Online

Kalibrr, fomema online Job Search Jawatan Pdf Booking Joget We Would Like Change Money portal, health connect, from registering workers amending information checking medical examination results making payments to purchasing insurance you can do them all online here are some helpful tips and guidelines to assist you in navigating the fomema online portal.

Perks at work is designed to help employees save money feel appreciated, access Fomema Employer Registration Eaccess Kosong From Registering Personalized Industries Kosong your personalized pension dashboard to check contributions manage your retirement pot and explore investment options with nest pensions.

Your next great hire is hereinstant access to 9m work ready talentsconnect instantly with the most relevant talent pool of top filipino talent with millions of skilled professionals in our database we specialize in white collar roles across various industries whether you re looking for experienced leaders or fresh dynamic talent you ll find exactly Pdf User Pdf Checkups Utama Log Agencies Hassle Comfort what you need with kalibrr make your.

Job Search Jawatan Fomema Manual Flagship Forgot Password Copyright Savings Appeal Comprehensive

Eaccess, eaccess is a comprehensive portal for employers agents and Perks At Work Solutions Use We Would Like Mail Col policyholders to manage policies access resources and utilize self, employer details, how to use fomema online portal guidelines for employers in malaysia.

Merged
javajaga-usa merged 3 commits into
mainfrom
fix/index-move-seamless
Nov 5, 2026
Merged

javajaga-usa merged 3 commits into
mainfrom
fix/index-move-seamless

Conversation

@javajaga-usa

Copy link
Copy Markdown
Owner

Why

On the Linux laptop (jaga-RB102) the console's Move index stopped at one rendition that read back differently, deleted everything it had copied and logged nothing. A folder made beforehand, or a copy made by hand, was refused. The start note showed no progress, and the Control Panel gave up on a long move after an hour. After a move, later starts still took their AI models from the old folder. The console could show a failure record that belonged to another folder. Separately, "database disk image is malformed" was logged on 3 Nov with nothing to act on it (audit open item 2).

What changes

Index move (storage/relocate.py)

  • Accepted destinations: an empty folder, or one that already holds a copy of this index:
    • an earlier attempt
    • a copy made by hand
    • the folder the index came from, when moving back
  • Only what differs is copied. Out-of-date files such as a stale -wal journal or a run file are removed.
  • A file that reads back wrong is copied again. If it still differs, the error says whether the original or the new drive is at fault. A failed attempt keeps its copy, marked index-move-partial.json, so the next attempt continues from it.
  • Read-back comes from the drive. On Linux there is one sync for the whole copy, then FADV_DONTNEED per file. A sync per file would take hours on a million thumbnails.
  • Checked before restarting: permissions, free space (only what is left to copy) and symbolic links.
  • Other writers:
    • Ninaivu's own work can't overlap the move, because it runs in the server, which hasn't started yet.
    • Other processes with a file open for writing in the folder are waited for, up to 5 minutes (Linux, /proc).
    • Files that change during the copy are copied again, up to 3 rounds.
    • A growing log never blocks the move, and a file another program rewrote is not blamed on the disk.
  • Logging and progress: every step goes to the server log. The start note shows copying, 42% / reading it back to check it. The Control Panel's one-hour ceiling no longer applies to a move or a repair.

After the move

  • Every start follows the forwarding note for NINAIVU_AI_MODELS_DIR and NINAIVU_HOME, not only the start that moved, and for checkouts and services as well as portable folders.
  • The stop command finds a moved index's CA. It is still standard-library only.
  • Durable writes:index-location.json and the other notes are fsynced together with their folder.

Index check and repair (storage/index_check.py, new)

  • When it runs: at start, with the server lock held and nothing open, and only when there is a reason:
    • after a move
    • after a logged "malformed"-type error (a log handler notices it)
    • when the console asks (Migration → Check now and restart)
  • The check:quick_check of index.db, archive.db and mugil-sent.db.
  • A damaged database is handled in order:
    1. It is copied aside, verified against the original, and only the newest copy is kept.
    2. REINDEX.
    3. A rebuild into a fresh file: every readable row with its id, unreadable stretches skipped, then indexes and triggers, with FTS rebuilt.
    4. The result is used only if it passes the full integrity_check. Orphans are counted with foreign_key_check.
  • Safeguards:
    • Nothing is changed without room for two more copies.
    • When no repair passes, the original is put back exactly.
    • A backup is never restored automatically, because that would undo everything since the backup.

Console

  • Move status: the current folder and its free space, what forwards to it, a waiting move, the last move (date, time taken, files reused or re-copied), or a failure with where it tried and that a retry continues.
  • Waits through the restart and shows the result by itself.
  • Records copied in from another folder are ignored.
  • New block "Check and repair the index": the waiting check and its reason, plus the last result.
  • Translations: English and Tamil strings, with messages.py regenerated.

Docs

  • Admin guide: Moving the index to another folder.
  • Backup and recovery: Checking and repairing the index.
  • Changelog: an Unreleased section.

Tests

  • tests/test_index_move_seamless.py (new): retries, blame, resume, hand-made copy, moving back, pre-restart checks, progress, the panel ceiling, post-move environment, stop command, status filtering, other writers (with a real second process on Linux), files changing mid-copy.
  • tests/test_index_check.py (new): databases damaged for real, with index pages and table pages overwritten, then repaired and checked with integrity_check. Also covers search and triggers working afterwards, ids kept, an unrepairable file left untouched, no room, a bad aside copy, orphans, the log watcher, the move asking for a check, and the console endpoint.
  • tests/index_relocation_ui.mjs (updated): the page waits through the restart and shows the result without reloading; the failure shows the folder and that a retry continues. Not run here (it needs the browser harness), so CI will run it.
  • Ran the 120 test files that touch the changed modules. There were no failures except tests/test_linux_control_lifecycle.py, which starts a real server and hangs in this sandbox on unchanged main too. ruff check ninaivu/ is clean, tools/server_messages.py --check passes, and so do the language tests.

Generated by Claude Code

The console's index move failed on the Linux laptop at one thumbnail that read back differently, deleted everything it had copied, and logged nothing. - Move: accept an empty folder, or one that already holds a copy of this index (a stopped attempt, a copy made by hand, the recovery copy when moving back); files with the same size and time are not copied again, out-of-date files (a stale -wal, a run file) are removed. A file that reads back wrong is copied once more; if it still differs the result says whether the original or the copy's drive is at fault. A failed attempt keeps what it copied so the next continues. Read-back bypasses the page cache on Linux (one sync for the whole copy, then FADV_DONTNEED). - Before restarting: permission, free space (only what is left to copy) and links are checked, so a restart is not spent on a move that cannot work. - Progress: the start note says copying/checking with a percentage; the Control Panel no longer gives up on a move after an hour. Every step is logged. - After the move: every start follows the forwarding note for the models and panel folders (checkouts and services too, not only portable), so a later start no longer takes its models from the recovery copy; the stop command finds the moved index's CA. - Console: shows the current folder and its free space, what forwards to it, a waiting move's destination, the last move with date, time taken, files reused and re-copied, or the failure with where it tried and that a retry continues; ignores records copied in from another folder; waits through the restart and shows the result without a manual refresh. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Hu9gdxFeASHrXuXTN3DVqn
Other writers during a move - Ninaivu's own work (describing, scanning, consolidating, thumbnails, backups, sending) runs in the server, which has not started while the move runs, so it is paused by the move and resumes after it. - Anything else with a file in the index folder open for writing (a converter left running, a terminal command) is waited for, up to five minutes, with the start note saying so (Linux, via /proc); then the move is refused and the index stays where it is. - Files that change during the copy are copied again, up to three rounds; a file that keeps changing refuses the move. A growing log never does. - A file another program rewrote while it was checked is not blamed on the disk. Index check and repair (storage/index_check.py) - At start, before anything opens the index and with the server lock held, when there is reason: after a move, after a "database disk image is malformed"-like error was logged while Ninaivu ran (a log handler notices it), or when asked from the console ("Check now and restart"). - quick_check on index.db, archive.db and mugil-sent.db. A damaged one is copied aside unchanged (only the newest copy kept), then REINDEX, then a rebuild into a fresh file: schema, every readable row with its id (unreadable stretches skipped), indexes, triggers, the photo search rebuilt. Each step is checked again; if nothing gives a sound database the original is put back as it was and the console points to a backup. - The Control Panel waits past its ceiling for a long repair. The console shows a waiting check and why, and the last result: all sound, what was repaired and where the damaged original is, or what could not be. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Hu9gdxFeASHrXuXTN3DVqn
- A repaired database must pass the full integrity_check (quick_check stays for the start-time check); rows whose parent row was lost are counted with foreign_key_check and reported. - Nothing is changed without room for the copy set aside and the rebuilt file, and the copy set aside is compared with the original first. - The rebuilt file, the restored original, the notes and the forwarding note are fsynced, and so is the folder they are renamed in. - A backup is never restored automatically: it would undo everything since it, which is the administrator's call (Backup & health). - Docs: "Moving the index to another folder" (admin guide), "Checking and repairing the index" (backup and recovery), and an Unreleased changelog section. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Hu9gdxFeASHrXuXTN3DVqn
@javajaga-usa
javajaga-usa merged commit 58b077c into mainNov 5, 2026
29 of 30 checks passed
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@javajaga-usa@claude