MASTER_AUTO_POSITION being reset to 0 after graceful-master-takeover

On behalf of @almeida-pythian, cross post from https://github.com/outbrain/orchestrator/issues/304
Hi @shlomi-noach , I think I might have found a bug during graceful-master-takeover process.
All slaves, prior to graceful-master-takeover starting, have the following: Auto_Position: 1. However, after graceful-master-takeover takes place, Auto_Position is set to 0, and further graceful failovers do not work until I set it back to 1.
I have the following test scenario below:
[root@po-proxysql1 orchestrator]# orchestrator-client -c topology -i po-mysql1:53306
po-mysql1:53306     [0s,ok,5.7.21-21-log,rw,MIXED,>>,GTID]
+ po-mysql2:53306   [0s,ok,5.7.21-21-log,ro,MIXED,>>,GTID]
+ po-mysql3:53306   [0s,ok,5.7.21-21-log,ro,MIXED,>>,GTID]
  + po-mysql4:53306 [0s,ok,5.7.21-21-log,ro,MIXED,>>,GTID]

I wrote a post graceful-master-takeover hook, which does the following:

Restarts the slave threads on old master (now a slave)
Gets a list of all secondary slaves from the old master (for now this is hard coded as you can see below as this is proof of concept)
Moves the secondary slaves as slaves of the old master (now a slave) after graceful-failover
Starts slave threads on secondary slaves

#!/bin/bash
echo "Restarting slave threads on old master ${ORC_FAILED_HOST}:${ORC_FAILED_PORT}"
orchestrator -c start-slave -i ${ORC_FAILED_HOST}:${ORC_FAILED_PORT}

echo "Getting list of secondary slaves from new master"
SEC_SLAVES=()
for secondary_slave in `orchestrator-client -c which-replicas -i ${ORC_SUCCESSOR_HOST}:${ORC_FAILED_PORT} | grep  po-mysql4`
do
SEC_SLAVES+=(${secondary_slave})
done

for ancillary_slave in "${SEC_SLAVES[@]}"
do
echo "Making SECONDARY SLAVE ${ancillary_slave} as a SLAVE of ${ORC_FAILED_HOST}"
orchestrator -c relocate -i ${ancillary_slave} -d ${ORC_FAILED_HOST}:${ORC_FAILED_PORT}
orchestrator -c start-slave -i ${ancillary_slave}
done

Here are the before and after pictures. Notice this only worked after I did the following on the old master
after graceful-master-takeover was all finished:
STOP SLAVE; CHANGE MASTER TO MASTER_AUTO_POSITION = 1; START SLAVE;
Screeshots below show the before and after:

Here's my config:
[root@po-proxysql1 orchestrator]# cat /etc/orchestrator.conf.json
{
  "Debug": false,
  "EnableSyslog": false,
  "ListenAddress": ":3000",
  "BackendDB": "sqlite",
  "SQLite3DataFile": "/usr/local/orchestrator/orchestrator.db",
  "MySQLTopologyUser": "orchestrator",
  "MySQLTopologyPassword": "orchestrator_password",
  "MySQLTopologyCredentialsConfigFile": "",
  "MySQLTopologySSLPrivateKeyFile": "",
  "MySQLTopologySSLCertFile": "",
  "MySQLTopologySSLCAFile": "",
  "MySQLTopologySSLSkipVerify": true,
  "MySQLTopologyUseMutualTLS": false,
  "MySQLOrchestratorHost": "<IP_ADDRESS>",
  "MySQLOrchestratorPort": 3306,
  "MySQLOrchestratorDatabase": "orchestrator",
  "MySQLOrchestratorUser": "orchestrator",
  "MySQLOrchestratorPassword": "orchestrator_password",
  "MySQLOrchestratorCredentialsConfigFile": "",
  "MySQLOrchestratorSSLPrivateKeyFile": "",
  "MySQLOrchestratorSSLCertFile": "",
  "MySQLOrchestratorSSLCAFile": "",
  "MySQLOrchestratorSSLSkipVerify": true,
  "MySQLOrchestratorUseMutualTLS": false,
  "MySQLConnectTimeoutSeconds": 1,
  "DefaultInstancePort": 3306,
  "DiscoverByShowSlaveHosts": true,
  "InstancePollSeconds": 5,
  "UnseenInstanceForgetHours": 240,
  "SnapshotTopologiesIntervalHours": 0,
  "InstanceBulkOperationsWaitTimeoutSeconds": 10,
  "HostnameResolveMethod": "default",
  "MySQLHostnameResolveMethod": "@@hostname",
  "SkipBinlogServerUnresolveCheck": true,
  "ExpiryHostnameResolvesMinutes": 60,
  "RejectHostnameResolvePattern": "",
  "ReasonableReplicationLagSeconds": 10,
  "ProblemIgnoreHostnameFilters": [],
  "VerifyReplicationFilters": false,
  "ReasonableMaintenanceReplicationLagSeconds": 20,
  "CandidateInstanceExpireMinutes": 60,
  "AuditLogFile": "",
  "AuditToSyslog": false,
  "RemoveTextFromHostnameDisplay": ".:53306",
  "ReadOnly": false,
  "AuthenticationMethod": "",
  "HTTPAuthUser": "",
  "HTTPAuthPassword": "",
  "AuthUserHeader": "",
  "PowerAuthUsers": [
    "*"
  ],
  "SlaveLagQuery": "",
  "DetectClusterAliasQuery": "SELECT SUBSTRING_INDEX(@@hostname, '.', 1)",
  "DetectClusterDomainQuery": "",
  "DetectInstanceAliasQuery": "",
  "DetectPromotionRuleQuery": "",
  "DataCenterPattern": "[.]([^.]+)[.][^.]+[.]mydomain[.]com",
  "PhysicalEnvironmentPattern": "[.]([^.]+[.][^.]+)[.]mydomain[.]com",
  "PromotionIgnoreHostnameFilters": [],
  "DetectSemiSyncEnforcedQuery": "",
  "ServeAgentsHttp": false,
  "AgentsServerPort": ":3001",
  "AgentsUseSSL": false,
  "AgentsUseMutualTLS": false,
  "AgentSSLSkipVerify": false,
  "AgentSSLPrivateKeyFile": "",
  "AgentSSLCertFile": "",
  "AgentSSLCAFile": "",
  "AgentSSLValidOUs": [],
  "UseSSL": false,
  "UseMutualTLS": false,
  "SSLSkipVerify": false,
  "SSLPrivateKeyFile": "",
  "SSLCertFile": "",
  "SSLCAFile": "",
  "SSLValidOUs": [],
  "URLPrefix": "",
  "StatusEndpoint": "/api/status",
  "StatusSimpleHealth": true,
  "StatusOUVerify": false,
  "AgentPollMinutes": 60,
  "UnseenAgentForgetHours": 6,
  "StaleSeedFailMinutes": 60,
  "SeedAcceptableBytesDiff": 8192,
  "PseudoGTIDPattern": "",
  "PseudoGTIDPatternIsFixedSubstring": false,
  "PseudoGTIDMonotonicHint": "asc:",
  "DetectPseudoGTIDQuery": "",
  "BinlogEventsChunkSize": 10000,
  "SkipBinlogEventsContaining": [],
  "ReduceReplicationAnalysisCount": true,
  "FailureDetectionPeriodBlockMinutes": 60,
  "RecoveryPeriodBlockSeconds": 3600,
  "RecoveryIgnoreHostnameFilters": [],
  "RecoverMasterClusterFilters": [
    "*"
  ],
  "RecoverIntermediateMasterClusterFilters": [
    "*"
  ],
   "OnFailureDetectionProcesses": [
    "echo 'Detected {failureType} on {failureCluster}. Affected replicas: {countSlaves}' >> /tmp/recovery.log"
  ],
  "PreGracefulTakeoverProcesses": [
    "echo 'Planned takeover about to take place on {failureCluster}. Master will switch to read_only' >> /tmp/recovery.log",
    "/usr/local/orchestrator/pregracefulfailover.sh >> /tmp/recovery.log"
  ],
  "PreFailoverProcesses": [
    "echo 'Will recover from {failureType} on {failureCluster}' >> /tmp/recovery.log"
  ],
  "PostFailoverProcesses": [
    "echo '(for all types) Recovered from {failureType} on {failureCluster}. Failed: {failedHost}:{failedPort}; Successor: {successorHost}:{successorPort}' >> /tmp/recovery.log"
  ],
  "PostUnsuccessfulFailoverProcesses": [],
  "PostMasterFailoverProcesses": [
    "echo 'Recovered from {failureType} on {failureCluster}. Failed: {failedHost}:{failedPort}; Promoted: {successorHost}:{successorPort}' >> /tmp/recovery.log"
  ],
  "PostIntermediateMasterFailoverProcesses": [
    "echo 'Recovered from {failureType} on {failureCluster}. Failed: {failedHost}:{failedPort}; Successor: {successorHost}:{successorPort}' >> /tmp/recovery.log"
  ],
  "PostGracefulTakeoverProcesses": [
    "echo 'Planned takeover complete' >> /tmp/recovery.log",
    "/usr/local/orchestrator/postgracefulfailover.sh >> /tmp/recovery.log"
  ],
  "CoMasterRecoveryMustPromoteOtherCoMaster": true,
  "DetachLostSlavesAfterMasterFailover": true,
  "ApplyMySQLPromotionAfterMasterFailover": true,
  "MasterFailoverDetachSlaveMasterHost": false,
  "MasterFailoverLostInstancesDowntimeMinutes": 0,
  "PostponeSlaveRecoveryOnLagMinutes": 0,
  "OSCIgnoreHostnameFilters": [],
  "GraphiteAddr": "",
  "GraphitePath": "",
  "GraphiteConvertHostnameDotsToUnderscores": true
}
}

Thanks for your help.

Thank you @almeida-pythian, I can confirm I'm able to reproduce this.
To be more specific: the demoted master, now returned as a replica, is set with auto_position=0 even if the topology is all using auto_position=1. The rest of the failover is fine and other replicas maintain their auto_position setting.
I'll look into it, but worth noting that the way Oracle implemented GTID calls for some confusion. Each replica chooses whether to auto_position or not. We can have a hybrid topology. And the master itself? It's not replicating; so does it use or does it not use GTID?
What if the master had one replica with auto_position=0 and one with auto_position=1? What should happen after failover?
Sigh. Yet another "try and think like a human" for orchestrator here, and yet another "no single solution to satisfy all cases and all users".

Hi @shlomi-noach Thanks for looking into this. I'm sorry I posted to the other site (outbrain), my brain must have been out and I did not realize I was on the wrong place :-) Thanks for moving it here.


Algorithm CPU percentil  in documentation correct?

This is not bug.
In site https://github.com/robusta-dev/krr?tab=readme-ov-file#algorithm you type
For CPU, we set a request at the 99th percentile,
but then I running krr by default I see 95 percentil
CPU request: 95.0% percentile, limit: unset Memory request: max + 15.0%, limit: max + 15.0%
I don't understand CPU 95 or CPU 99 percentil correct for use correct ?
krr:1.10.0

It is a bug in the docs!
95th percentile is correct on the latest version.

It is a bug in the docs!
95th percentile is correct on the latest version.


Add Hover effect to buttons in the contact Page.

I would like to add hover effect to the buttons in the contact page. It'll make it look a lot nicer.

Please assign me with this issue.
Thankyou :)

@UJALA-TYAGI you can go ahead .

Thank you, ma'am.

Ma'am I've made a PR. Please review it.
Thankyou.


python27Packages.flask-compress: 1.5.0 -> 1.8.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python27Packages.flask-compress is: "Compress responses in your Flask app with gzip"
meta.homepage for python27Packages.flask-compress is: "https://libwilliam.github.io/flask-compress/"
meta.changelog for python27Packages.flask-compress is: ""
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS

Warning: a test defined in passthru.tests did not pass

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found 1.8.0 with grep in /nix/store/7z9d81zpsaczdx0bdl5lir8vchar9nnw-python2.7-Flask-Compress-1.8.0

directory tree listing: https://gist.github.com/dfe73ff7825ee52244497bed116bc9ab

du listing: https://gist.github.com/d1b07baa6bf498002f1efc95e0f09baa

Rebuild report (if merged into master) (click to expand)

48 total rebuild path(s)

12 package rebuild(s)

12 x86_64-linux rebuild(s)
12 i686-linux rebuild(s)
12 x86_64-darwin rebuild(s)
12 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
flexget
gdbgui
python27Packages.dash
python27Packages.flask-compress
python37Packages.alerta-server
python37Packages.dash
python37Packages.flask-compress
python37Packages.runway-python
python38Packages.alerta-server
python38Packages.dash
python38Packages.flask-compress
python38Packages.runway-python

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/7z9d81zpsaczdx0bdl5lir8vchar9nnw-python2.7-Flask-Compress-1.8.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A python27Packages.flask-compress https://github.com/r-ryantm/nixpkgs/archive/0bd7c4e88d059bab99d0d04113cb407b9043dece.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/7z9d81zpsaczdx0bdl5lir8vchar9nnw-python2.7-Flask-Compress-1.8.0
ls -la /nix/store/7z9d81zpsaczdx0bdl5lir8vchar9nnw-python2.7-Flask-Compress-1.8.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
nixpkgs-review took longer than 45m and timed out

Maintainer pings

Result of nixpkgs-review pr 102765 run on x86_64-linux 1

12 packages built:

flexget
gdbgui
python27Packages.dash
python27Packages.flask-compress
python37Packages.alerta-server
python37Packages.dash
python37Packages.flask-compress
python37Packages.runway-python
python38Packages.alerta-server
python38Packages.dash
python38Packages.flask-compress
python38Packages.runway-python


async + assert

I use Firebase Core and spot one potential issue (maybe) about FutureBuilder and Firebase Core itself.
When async is combined with assert and it's used inside FutureBuilder, if the assert is not true, somehow the rest of the async task is skipped without notifying, and snapshot's connection state will be "done", here is my scripts
Async with assert
_test() async {
    assert(1 == 3);
    await Future.delayed(Duration(milliseconds: 1000));
    return "test";
  }

  getPrefs() async {
    print("before");
    print("_test => ${await _test()}");
    print("after");
  }

  @override
  Widget build(BuildContext context) {
    print("main executed!");
    return FutureBuilder(
      future: getPrefs(),
      builder: (BuildContext context, AsyncSnapshot snapshot) {
        switch (snapshot.connectionState) {
          case ConnectionState.active:
            print("Active!");
            break;
          case ConnectionState.none:
            print("None!");
            break;
          case ConnectionState.waiting:
            print("Waiting!");
            break;
          case ConnectionState.done:
            print("Done!");
            break;
          default:
            print("Default!");
        }
        return MaterialApp(
          home: Scaffold(body: Center(child: CircularProgressIndicator())),
        );
      },
    );
  }

will print
flutter: main executed!
flutter: before
flutter: Waiting!
flutter: Done!

Async without assert
_test() async {
    await Future.delayed(Duration(milliseconds: 1000));
    return "test";
  }

  getPrefs() async {
    print("before");
    print("_test => ${await _test()}");
    print("after");
  }

  @override
  Widget build(BuildContext context) {
    print("main executed!");
    return FutureBuilder(
      future: getPrefs(),
      builder: (BuildContext context, AsyncSnapshot snapshot) {
        switch (snapshot.connectionState) {
          case ConnectionState.active:
            print("Active!");
            break;
          case ConnectionState.none:
            print("None!");
            break;
          case ConnectionState.waiting:
            print("Waiting!");
            break;
          case ConnectionState.done:
            print("Done!");
            break;
          default:
            print("Default!");
        }
        return MaterialApp(
          home: Scaffold(body: Center(child: CircularProgressIndicator())),
        );
      },
    );
  }

will print
flutter: main executed!
flutter: before
flutter: Waiting!
flutter: _test => test
flutter: after
flutter: Done!

Note

I called this a potential issue for FutureBuilder, because sure it is programmer's fault that the assert is occurred, but maybe in the future, it would be nice to have a log to notify us..

I can reproduce.

also other thrown exceptions are just swallowed.
Perhaps there should be an ConnectionState.error
 $ flutter doctor -v
[✓] Flutter (Channel stable, v1.0.0, on Mac OS X 10.14.1 18B75, locale en-AT)
    • Flutter version 1.0.0 at /Users/zoechi/flutter/flutter
    • Framework revision 5391447fae (2 weeks ago), 2018-11-29 19:41:26 -0800
    • Engine revision 7375a0f414
    • Dart version 2.1.0 (build 2.1.0-dev.9.4 f9ebf21297)

[✓] Android toolchain - develop for Android devices (Android SDK 28.0.3)
    • Android SDK at /usr/local/opt/android-sdk
    • Android NDK at /usr/local/opt/android-sdk/ndk-bundle
    • Platform android-28, build-tools 28.0.3
    • ANDROID_HOME = /usr/local/opt/android-sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06)
    • All Android licenses accepted.

[!] iOS toolchain - develop for iOS devices (Xcode 10.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 10.1, Build version 10B61
    ✗ Verify that all connected devices have been paired with this computer in Xcode.
      If all devices have been paired, libimobiledevice and ideviceinstaller may require updating.
      To update with Brew, run:
        brew update
        brew uninstall --ignore-dependencies libimobiledevice
        brew uninstall --ignore-dependencies usbmuxd
        brew install --HEAD usbmuxd
        brew unlink usbmuxd
        brew link usbmuxd
        brew install --HEAD libimobiledevice
        brew install ideviceinstaller
    • ios-deploy 1.9.4
    • CocoaPods version 1.5.3

[✓] Android Studio (version 3.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 23.1.2
    • Dart plugin version 173.4700
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06)

[✓] IntelliJ IDEA Ultimate Edition (version 2018.2.5)
    • IntelliJ at /Applications/IntelliJ IDEA.app
    • Flutter plugin version 30.0.2
    • Dart plugin version 182.5124

[✓] Connected device (1 available)
    • Android SDK built for x86 • emulator-5554 • android-x86 • Android 8.1.0 (API 27) (emulator)

! Doctor found issues in 1 category.

Thanks for responding this thread @zoechi 👍

Hi @ricnaaru
testing the code below with the latest master
code
import 'package:flutter/material.dart';

void main() => runApp(const MyApp(key: Key('app')));

class MyApp extends StatelessWidget {
  const MyApp({Key key}) : super(key: key);

  @override
  Widget build(BuildContext context) => MaterialApp(
        home: const MyHomePage(
          key: Key('home'),
        ),
      );
}

class MyHomePage extends StatelessWidget {
  const MyHomePage({Key key}) : super(key: key);

  Future<String> get _test async {
    assert(1 == 3);
    await Future.delayed(Duration(milliseconds: 1000));
    return "test";
  }

  Future<String> get _getPrefs async {
    print('before');
    final String _message = await _test;
    print(_message);
    print('after');
    return _message;
  }

  String _connectionState(ConnectionState state) {
    String _message;
    switch (state) {
      case ConnectionState.active:
        _message = 'active!';
        break;
      case ConnectionState.none:
        _message = 'none!';
        break;
      case ConnectionState.waiting:
        _message = 'waiting!';
        break;
      case ConnectionState.done:
        _message = 'done!';
        break;
      default:
        _message = 'default!';
        break;
    }
    print(_message);
    return _message;
  }

  @override
  Widget build(BuildContext context) => Material(
        child: Center(
          child: FutureBuilder<String>(
            future: _getPrefs,
            builder: (BuildContext context, AsyncSnapshot<String> snapshot) =>
                Text(
              _connectionState(snapshot.connectionState),
            ),
          ),
        ),
      );
}

logs
[   +6 ms] ✓ Built build/app/outputs/flutter-apk/app-debug.apk.
[   +6 ms] executing: /Users/nevercode/Library/Android/sdk/build-tools/29.0.2/aapt dump xmltree /Users/nevercode/Desktop/projects/master/build/app/outputs/flutter-apk/app.apk
AndroidManifest.xml
[  +37 ms] Exit code 0 from: /Users/nevercode/Library/Android/sdk/build-tools/29.0.2/aapt dump xmltree
/Users/nevercode/Desktop/projects/master/build/app/outputs/flutter-apk/app.apk AndroidManifest.xml
[        ] N: android=http://schemas.android.com/apk/res/android
             E: manifest (line=2)
               A: android:versionCode(0x0101021b)=(type 0x10)0x1
               A: android:versionName(0x0101021c)="1.0.0" (Raw: "1.0.0")
               A: android:compileSdkVersion(0x01010572)=(type 0x10)0x1c
               A: android:compileSdkVersionCodename(0x01010573)="9" (Raw: "9")
               A: package="com.example.master" (Raw: "com.example.master")
               A: platformBuildVersionCode=(type 0x10)0x1c
               A: platformBuildVersionName=(type 0x10)0x9
               E: uses-sdk (line=7)
                 A: android:minSdkVersion(0x0101020c)=(type 0x10)0x10
                 A: android:targetSdkVersion(0x01010270)=(type 0x10)0x1c
               E: uses-permission (line=14)
                 A: android:name(0x01010003)="android.permission.INTERNET" (Raw: "android.permission.INTERNET")
               E: application (line=22)
                 A: android:label(0x01010001)="master" (Raw: "master")
                 A: android:icon(0x01010002)=@0x7f080000
                 A: android:name(0x01010003)="io.flutter.app.FlutterApplication" (Raw: "io.flutter.app.FlutterApplication")
                 A: android:debuggable(0x0101000f)=(type 0x12)0xffffffff
                 A: android:appComponentFactory(0x0101057a)="androidx.core.app.CoreComponentFactory" (Raw: "androidx.core.app.CoreComponentFactory")
                 E: activity (line=28)
                   A: android:theme(0x01010000)=@0x7f0a0000
                   A: android:name(0x01010003)="com.example.master.MainActivity" (Raw: "com.example.master.MainActivity")
                   A: android:launchMode(0x0101001d)=(type 0x10)0x1
                   A: android:configChanges(0x0101001f)=(type 0x11)0x40003fb4
                   A: android:windowSoftInputMode(0x0101022b)=(type 0x11)0x10
                   A: android:hardwareAccelerated(0x010102d3)=(type 0x12)0xffffffff
                   E: meta-data (line=42)
                     A: android:name(0x01010003)="io.flutter.embedding.android.NormalTheme" (Raw: "io.flutter.embedding.android.NormalTheme")
                     A: android:resource(0x01010025)=@0x7f0a0001
                   E: meta-data (line=52)
                     A: android:name(0x01010003)="io.flutter.embedding.android.SplashScreenDrawable" (Raw: "io.flutter.embedding.android.SplashScreenDrawable")
                     A: android:resource(0x01010025)=@0x7f040000
                   E: intent-filter (line=56)
                     E: action (line=57)
                       A: android:name(0x01010003)="android.intent.action.MAIN" (Raw: "android.intent.action.MAIN")
                     E: category (line=59)
                       A: android:name(0x01010003)="android.intent.category.LAUNCHER" (Raw: "android.intent.category.LAUNCHER")
                 E: meta-data (line=66)
                   A: android:name(0x01010003)="flutterEmbedding" (Raw: "flutterEmbedding")
                   A: android:value(0x01010024)=(type 0x10)0x2
[   +6 ms] Stopping app 'app.apk' on Pixel 3a.
[   +1 ms] executing: /Users/nevercode/Library/Android/sdk/platform-tools/adb -s 965AY0WP5C shell am force-stop com.example.master
[ +132 ms] executing: /Users/nevercode/Library/Android/sdk/platform-tools/adb -s 965AY0WP5C shell pm list packages com.example.master
[ +116 ms] Installing APK.
[   +4 ms] executing: /Users/nevercode/Library/Android/sdk/platform-tools/adb version
[   +7 ms] Android Debug Bridge version 1.0.41
           Version 30.0.3-6597393
           Installed as /Users/nevercode/Library/Android/sdk/platform-tools/adb
[   +1 ms] executing: /Users/nevercode/Library/Android/sdk/platform-tools/adb start-server
[  +10 ms] Installing build/app/outputs/flutter-apk/app.apk...
[        ] executing: /Users/nevercode/Library/Android/sdk/platform-tools/adb -s 965AY0WP5C install -t -r
/Users/nevercode/Desktop/projects/master/build/app/outputs/flutter-apk/app.apk
[+5349 ms] Performing Streamed Install
                    Success
[   +1 ms] Installing build/app/outputs/flutter-apk/app.apk... (completed in 5.4s)
[   +4 ms] executing: /Users/nevercode/Library/Android/sdk/platform-tools/adb -s 965AY0WP5C shell echo -n 510f2b8d0366766782fee1f43f545bcd68bd5e6e >
/data/local/tmp/sky.com.example.master.sha1
[  +35 ms] Pixel 3a startApp
[  +11 ms] executing: /Users/nevercode/Library/Android/sdk/platform-tools/adb -s 965AY0WP5C shell am start -a android.intent.action.RUN -f 0x20000000 --ez
enable-background-compilation true --ez enable-dart-profiling true --ez enable-checked-mode true --ez verify-entry-points true com.example.master/com.example.master.MainActivity
[  +77 ms] Starting: Intent { act=android.intent.action.RUN flg=0x20000000 cmp=com.example.master/.MainActivity (has extras) }
[   +1 ms] Waiting for observatory port to be available...
[+1154 ms] Observatory URL on device: http://<IP_ADDRESS>:39765/eRq-NxQY4oE=/
[   +3 ms] executing: /Users/nevercode/Library/Android/sdk/platform-tools/adb -s 965AY0WP5C forward tcp:0 tcp:39765
[  +12 ms] 52069
[        ] Forwarded host port 52069 to device port 39765 for Observatory
[  +14 ms] Caching compiled dill
[ +140 ms] Connecting to service protocol: http://<IP_ADDRESS>:52069/eRq-NxQY4oE=/
[ +406 ms] Successfully connected to service protocol: http://<IP_ADDRESS>:52069/eRq-NxQY4oE=/
[        ] Waiting for Pixel 3a to report its views...
[   +9 ms] Waiting for Pixel 3a to report its views... (completed in 8ms)
[  +15 ms] DevFS: Creating new filesystem on the device (null)
[  +35 ms] DevFS: Created new filesystem on the device (file:///data/user/0/com.example.master/code_cache/masterJCCLTM/master/)
[   +4 ms] Updating assets
[ +178 ms] Syncing files to device Pixel 3a...
[   +2 ms] Scanning asset files
[   +2 ms] <- reset
[        ] Compiling dart to kernel with 0 updated files
[   +1 ms] <- recompile package:master/main.dart 1c35978d-937b-4fbf-9a10-9d72d525cfd3
[        ] <- 1c35978d-937b-4fbf-9a10-9d72d525cfd3
[ +176 ms] Updating files
[ +164 ms] I/flutter (32234): before
[  +50 ms] I/flutter (32234): waiting!
[  +29 ms] DevFS: Sync finished
[        ] Syncing files to device Pixel 3a... (completed in 428ms)
[   +1 ms] Synced 1.6MB.
[   +1 ms] <- accept
[   +5 ms] Connected to _flutterView/0x7082023820.
[   +3 ms] Flutter run key commands.
[   +4 ms] r Hot reload. 🔥🔥🔥
[   +1 ms] R Hot restart.
[        ] h Repeat this help message.
[        ] d Detach (terminate "flutter run" but leave application running).
[        ] c Clear the screen
[        ] q Quit (terminate the application on the device).
[        ] An Observatory debugger and profiler on Pixel 3a is available at: http://<IP_ADDRESS>:52069/eRq-NxQY4oE=/
[  +45 ms] I/flutter (32234): done!

doctor
[✓] Flutter (Channel master, 1.21.0-6.0.pre.37, on Mac OS X 10.15.5 19F101, locale en-GB)
    • Flutter version 1.21.0-6.0.pre.37 at /Users/nevercode/development/flutter_master
    • Framework revision 35e7005184 (2 days ago), 2020-07-25 09:44:17 -0700
    • Engine revision 626244a72c
    • Dart version 2.9.0 (build 2.9.0-21.0.dev a3815b6590)

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
    • Android SDK at /Users/nevercode/Library/Android/sdk
    • Platform android-29, build-tools 29.0.2
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.5)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.5, Build version 11E608c
    • CocoaPods version 1.9.0

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.0)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 46.0.2
    • Dart plugin version 193.7361
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)

[✓] VS Code
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.12.2

[✓] Connected device (4 available)
    • Pixel 3a (mobile) • 965AY0WP5C • android-arm64  • Android 10 (API 29)
    • macOS (desktop)   • macos      • darwin-x64     • Mac OS X 10.15.5 19F101
    • Web Server (web)  • web-server • web-javascript • Flutter Tools
    • Chrome (web)      • chrome     • web-javascript • Google Chrome 84.0.4147.89

• No issues found!

the issue still persists
Thank you

Reproducible on stable 3.3 and master 3.7, When the assert fails the entire asynchronous method is skipped.

code sample
import 'package:flutter/material.dart';

void main() => runApp(const MyApp(key: Key('app')));

class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) => const MaterialApp(
        home: MyHomePage(
          key: Key('home'),
        ),
      );
}

class MyHomePage extends StatelessWidget {
  const MyHomePage({Key? key}) : super(key: key);

  Future<String> get _test async {
    assert(1 == 3);
    print("assert failed! This won't be executed");
    await Future.delayed(const Duration(milliseconds: 1000));
    return "test";
  }

  Future<String> get _getPrefs async {
    print('before');
    final String message = await _test;
    print(message);
    print('after');
    return message;
  }

  String _connectionState(ConnectionState state) {
    String message;
    switch (state) {
      case ConnectionState.active:
        message = 'active!';
        break;
      case ConnectionState.none:
        message = 'none!';
        break;
      case ConnectionState.waiting:
        message = 'waiting!';
        break;
      case ConnectionState.done:
        message = 'done!';
        break;
      default:
        message = 'default!';
        break;
    }
    print(message);
    return message;
  }

  @override
  Widget build(BuildContext context) => Material(
        child: Center(
          child: FutureBuilder<String>(
            future: _getPrefs,
            builder: (BuildContext context, AsyncSnapshot<String> snapshot) =>
                Text(
              _connectionState(snapshot.connectionState),
            ),
          ),
        ),
      );
}

Logs
Performing hot restart...                                          128ms
Restarted application in 128ms.
before
waiting!
done!

Performing hot restart...                                        1,216ms
Restarted application in 1,217ms.
before
waiting!
done!

Performing hot restart...                                           61ms
Restarted application in 61ms.
before
waiting!
done!

Performing hot restart...                                        1,132ms
Restarted application in 1,132ms.
before
waiting!
done!

flutter doctor -v (mac)
[✓] Flutter (Channel master, 3.7.0-13.0.pre.131, on macOS 13.1 22C65 darwin-arm64, locale en-IN)
    • Flutter version 3.7.0-13.0.pre.131 on channel master at /Users/mahesh/Development/flutter_master
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 0196e6050b (2 days ago), 2022-12-31 11:10:23 -0500
    • Engine revision 932591ec04
    • Dart version 3.0.0 (build 3.0.0-76.0.dev)
    • DevTools version 2.20.0
    • If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform update checks
      and upgrades.

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0-rc4)
    • Android SDK at /Users/mahesh/Library/Android/sdk
    • Platform android-33, build-tools 33.0.0-rc4
    • ANDROID_HOME = /Users/mahesh/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.0.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14A400
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2021.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)

[✓] IntelliJ IDEA Community Edition (version 2021.2.1)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 61.2.4
    • Dart plugin version 212.5080.8

[✓] VS Code (version 1.74.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.56.0

[✓] Connected device (3 available)
    • iPhone 12 Pro (mobile) • 026D5789-9E78-4AD5-B1B2-3F8D4E7F65E4 • ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-5 (simulator)
    • macOS (desktop)        • macos                                • darwin-arm64   • macOS 13.1 22C65 darwin-arm64
    • Chrome (web)           • chrome                               • web-javascript • Google Chrome 108.0.5359.124

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!

[✓] Flutter (Channel stable, 3.3.9, on macOS 12.6 21G115 darwin-arm, locale en-IN)
    • Flutter version 3.3.9 on channel stable at /Users/mahesh/Development/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision b8f7f1f986 (24 hours ago), 2022-11-23 06:43:51 +0900
    • Engine revision 8f2221fbef
    • Dart version 2.18.5
    • DevTools version 2.15.0

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0-rc4)
    • Android SDK at /Users/mahesh/Library/Android/sdk
    • Platform android-33, build-tools 33.0.0-rc4
    • ANDROID_HOME = /Users/mahesh/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.0.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14A400
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2021.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)

[✓] IntelliJ IDEA Community Edition (version 2021.2.1)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 61.2.4
    • Dart plugin version 212.5080.8

[✓] VS Code (version 1.70.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.53.20221101

[✓] Connected device (3 available)
    • iPhone 12 Pro (mobile) • 026D5789-9E78-4AD5-B1B2-3F8D4E7F65E4 • ios            •
      com.apple.CoreSimulator.SimRuntime.iOS-14-5 (simulator)
    • macOS (desktop)        • macos                                • darwin-arm64   • macOS 12.6 21G115 darwin-arm
    • Chrome (web)           • chrome                               • web-javascript • Google Chrome 107.0.5304.110

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!


how to get typescript types?

Question
I know I'm doing something wrong, but I cant figure it out!  I want to create a server in TS to download videos from yt, so I started messing with your excellent looking library.  When I hover over I'm getting typing which is awesome.

But if I want to declare the variable (say outside a try/catch) I cannot.

I cant find anywhere to pull the types into my .ts file, and doing the normal npm install @types/youtubei.js didnt work.
Any ideas?
Other details
No response
Checklist

[X] I am running the latest version.
[X] I checked the documentation and found no answer.
[X] I have searched the existing issues and made sure this is not a duplicate.
[X] I have provided sufficient information.

You can just import the type.
import { IStreamingData } from 'youtubei.js';

const streamingData: IStreamingData = { /** */ };

ahh perfect, thank you so much!  Just cause I'm brain dead apparently, how do I get the Format type for the adaptive_formats as well?

how do I get the Format type for the adaptive_formats as well?

That one should be inside Misc:
import { Misc } from 'youtubei.js';

const fmt: Misc.Format;

You know what, I recreated the project and started again and now with enough trying TS eventually resolves things.  Thank you for an awesome library!
import { DownloadOptions } from "youtubei.js/dist/src/types";
import { VideoInfo } from "youtubei.js/dist/src/parser/youtube";
import { Format } from "youtubei.js/dist/src/parser/misc";

How can I import VideoInfo class???


Tensorflow Lite Andriod bug

hey guys, i'm very new for Tensorflow and Tensorflow lite.
I followed the the guide from TensorFlow For Poets, which i see from official site of Tensorflow Lite https://www.tensorflow.org/lite/
I am finished very quickly the first guide TensorFlow For Poets, and then i tried to set up Tensorflow on my andriod device(I have a Arm-RK3399, which i have been installed andorid). The first 3 Steps were no problem, but after I opend andriod studio, it became very slow, as in the guide, i choosed Tensorflow-for-poets-2/android/tflite from the working directory and then i didn't get a "gradle Sync" popup, but in android studio i saw the Gradle was Syncing, and also configure building Cpp. but I waited almost 1 hour, it was still building. I also tried changing to offline work, but it didn't help.
Is that because I used Linux in Virtual Machine caused this ?  or I should used android Phone?
Thx
Jason

Nagging Assignee @suharshs: It has been 14 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @suharshs: It has been 29 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

@JasonQRY If you are using linux in Virtual Machine, try giving it more RAM (approx. 4 gigs or more). Android Studio is itself a very heavy software and takes a lot of time even on real systems. If possible, try building Gradle on a real system instead of virtual machine.
Let me know how it proceeds :)

@JasonQRY If you are using linux in Virtual Machine, try giving it more RAM (approx. 4 gigs or more). Android Studio is itself a very heavy software and takes a lot of time even on real systems. If possible, try building Gradle on a real system instead of virtual machine.
Let me know how it proceeds :)

I tried actually on real system and it worked, i just donwloaded the App from Tensorflow, and import to Android Studio.


Optimize get used blobs

What is the purpose of this change? What does it change?
Optimize get used blobs (less memory usage) and put it into a separate function
Was the change discussed in an issue or in the forum before?
This is a part of #2718 that can be merged independently. Is based on #2840 (would need to manually resolve merge conflicts if merged alone)
Checklist

[x] I have read the Contribution Guidelines
[x] I have enabled maintainer edits for this PR
I have not added tests for all changes in this PR - tests cover this change
I have not added documentation for the changes (in the manual)
[ ] There's a new file in changelog/unreleased/ that describes the changes for our users (template here) - is this needed?
[x] I have run gofmt on the code in all commits
[x] All commit messages are formatted in the same style as the other commits in the repo
[x] I'm done, this Pull Request is ready for review

This PR also contains the code of #2840, please remove it. With #2599 merged, this just extracts getUsedBlobs into a separate function?

Directly looking at travis shows that the CI run was completed successfully. So I'll just ignore that it still shows as 'in progress'.


Change Separator to dash

hey, i just download the lib,
i just curious, can we change the separator from ':' to '-'

@yadimr it's hardcoded in the renderSeparator function


House portal teleport.

Describe the solution you'd like
When you open the world map and hoover over the house portal it should say which house is that portal called.
Additional context

For example when I hoover my mouse over the house portal it should say Traverley house which is on the screenshot etc.

Isnt it quite obvious already? The house portals are for respective cities, and there is city name like right next to portal (even in your screenshot, like 10 pixels away)


Back to app

I can't back to app. I think that when people is this plugin must keep in mind that if you want to back to app you'll need to implement native code.

Solved. Used Deep Linking. Thanks a lot for your response. It works very well! I'd recommend it 100%!
Happy coding!


Demo site down

Like the title says, the demo site is currently down.

This project seems dead :(

I have no plans to contribute to it.


Adding Authors to a Pattern Candidate does not work in while Adding it

Describe the bug
When creating a new Pattern Candidate, adding another author does not work.
To Reproduce
Steps to reproduce the behavior:

Go to Pattern Cadidates
Click on Add New
Try to add another user as an author
See error

Expected behavior
I can add the user as an author.
Found by: @mar-be

UI attempts PUT on http://localhost:1977/patternatlas/issues/undefined/authors since the issue is not yet created. Will change UI for Issues and Candidate to defer setting autors until the save button is clicked

Fixed in ba-meyer-master (see c64b71c)


Tensorflow is still taking up all GPU memory despite allocation of memory

System Information:

OS Platform: Linux Ubuntu 16.04
TensorFlow installed from binary
TensorFlow version: 1.0.1
CUDA version: 8.0
cuDNN version: 5.1

output for print(tf.GIT_VERSION, tf.VERSION):
('v1.0.0-65-g4763edf-dirty', '1.0.1')
Problem:
I have three codes running GPU-enabled TensorFlow. Currently, when the GPU is allocated for two of the processes, the GPU does get allocated. However, no matter how much GPU I allocate to the last process, it takes up all the GPU, disallowing other two processes to run simultaneously.
First process (the one with problem)
I tensorflow/core/common_runtime/gpu/gpu_device.cc:885] Found device 0 with properties:
name: GeForce GTX 1060
major: 6 minor: 1 memoryClockRate (GHz) 1.6705
pciBusID 0000:01:00.0
Total memory: 5.93GiB
Free memory: 5.68GiB
I tensorflow/core/common_runtime/gpu/gpu_device.cc:906] DMA: 0
I tensorflow/core/common_runtime/gpu/gpu_device.cc:916] 0:   Y
I tensorflow/core/common_runtime/gpu/gpu_device.cc:975] Creating TensorFlow device (/gpu:0) -> (device: 0, name: GeForce GTX 1060, pci bus id: 0000:01:00.0)
I tensorflow/core/common_runtime/gpu/gpu_device.cc:975] Creating TensorFlow device (/gpu:0) -> (device: 0, name: GeForce GTX 1060, pci bus id: 0000:01:00.0)
Second process:
I tensorflow/core/common_runtime/gpu/gpu_device.cc:885] Found device 0 with properties:
name: GeForce GTX 1060
major: 6 minor: 1 memoryClockRate (GHz) 1.6705
pciBusID 0000:01:00.0
Total memory: 5.93GiB
Free memory: 237.00MiB
I tensorflow/core/common_runtime/gpu/gpu_device.cc:906] DMA: 0
I tensorflow/core/common_runtime/gpu/gpu_device.cc:916] 0:   Y
I tensorflow/core/common_runtime/gpu/gpu_device.cc:975] Creating TensorFlow device (/gpu:0) -> (device: 0, name: GeForce GTX 1060, pci bus id: 0000:01:00.0)
E tensorflow/stream_executor/cuda/cuda_driver.cc:1002] failed to allocate 1.19G<PHONE_NUMBER> bytes) from device: CUDA_ERROR_OUT_OF_MEMORY
E tensorflow/stream_executor/cuda/cuda_driver.cc:1002] failed to allocate 1.07G<PHONE_NUMBER> bytes) from device: CUDA_ERROR_OUT_OF_MEMORY
E tensorflow/stream_executor/cuda/cuda_driver.cc:1002] failed to allocate 983.40M<PHONE_NUMBER> bytes) from device: CUDA_ERROR_OUT_OF_MEMORY
E tensorflow/stream_executor/cuda/cuda_driver.cc:1002] failed to allocate 885.06M (928053504 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY
E tensorflow/stream_executor/cuda/cuda_driver.cc:1002] failed to allocate 796.55M (835248128 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY
E tensorflow/stream_executor/cuda/cuda_driver.cc:1002] failed to allocate 716.90M (751723264 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY
E tensorflow/stream_executor/cuda/cuda_driver.cc:1002] failed to allocate 645.21M (676550912 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY
E tensorflow/stream_executor/cuda/cuda_driver.cc:1002] failed to allocate 580.69M (608896000 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY
E tensorflow/stream_executor/cuda/cuda_driver.cc:1002] failed to allocate 522.62M (548006400 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY
E tensorflow/stream_executor/cuda/cuda_driver.cc:1002] failed to allocate 470.36M (493205760 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY
E tensorflow/stream_executor/cuda/cuda_driver.cc:1002] failed to allocate 423.32M (443885312 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY
E tensorflow/stream_executor/cuda/cuda_driver.cc:1002] failed to allocate 380.99M (399496960 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY
E tensorflow/stream_executor/cuda/cuda_driver.cc:1002] failed to allocate 342.89M (359547392 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY
E tensorflow/stream_executor/cuda/cuda_driver.cc:1002] failed to allocate 308.60M (323592704 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY
E tensorflow/stream_executor/cuda/cuda_driver.cc:1002] failed to allocate 277.74M (291233536 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY
E tensorflow/stream_executor/cuda/cuda_driver.cc:1002] failed to allocate 249.97M (262110208 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY
E tensorflow/stream_executor/cuda/cuda_driver.cc:1002] failed to allocate 224.97M (235899392 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY
WARNING:apscheduler.scheduler:Execution of job "session (trigger: interval[0:00:01], next run at: 2017-04-24 11:24:48.702309)" skipped: maximum number of running instances reached (1)
E tensorflow/stream_executor/cuda/cuda_dnn.cc:397] could not create cudnn handle: CUDNN_STATUS_INTERNAL_ERROR
E tensorflow/stream_executor/cuda/cuda_dnn.cc:364] could not destroy cudnn handle: CUDNN_STATUS_BAD_PARAM
F tensorflow/core/kernels/conv_ops.cc:605] Check failed: stream->parent()->GetConvolveAlgorithms(&algorithms)
The code I am using to allocate GPU for the first process:
gpu_options = tf.GPUOptions(per_process_gpu_memory_fraction=0.3)
sess = tf.Session(config=tf.ConfigProto(gpu_options=gpu_options, log_device_placement=False))
I have also looked up stackoverflow but it does not seem to have the same problems raised.
Some pages I referred to:
http://stackoverflow.com/questions/34199233/how-to-prevent-tensorflow-from-allocating-the-totality-of-a-gpu-memory
https://www.tensorflow.org/tutorials/using_gpu
https://github.com/tensorflow/tensorflow/issues/398

How much memory does your last process consume if you start this one on its own? CUDA_ERROR_OUT_OF_MEMORY usually states that a model is too big and doesn't fit in the pre-allocated memory.

I am facing similar issues with memory allocation in tensorflow and i'm really unable to figure out what to do.. currently i am trying to train a cnn for a kaggle dataset of 48x48 pixel images and this is the code
https://github.com/vijpandaturtle/facial-expressions
Everytime i make even a small change in my layers, it keeps throwing the following error
Training on the data
ResourceExhaustedError                    Traceback (most recent call last)
/home/carnd/anaconda3/envs/dl/lib/python3.5/site-packages/tensorflow/python/client/session.py in _do_call(self, fn, *args)
1021     try:
-> 1022       return fn(*args)
1023     except errors.OpError as e:
/home/carnd/anaconda3/envs/dl/lib/python3.5/site-packages/tensorflow/python/client/session.py in _run_fn(session, feed_dict, fetch_list, target_list, options, run_metadata)
1003                                  feed_dict, fetch_list, target_list,
-> 1004                                  status, run_metadata)
1005
/home/carnd/anaconda3/envs/dl/lib/python3.5/contextlib.py in exit(self, type, value, traceback)
65             try:
---> 66                 next(self.gen)
67             except StopIteration:
/home/carnd/anaconda3/envs/dl/lib/python3.5/site-packages/tensorflow/python/framework/errors_impl.py in raise_exception_on_not_ok_status()
468           compat.as_text(pywrap_tensorflow.TF_Message(status)),
--> 469           pywrap_tensorflow.TF_GetCode(status))
470   finally:
ResourceExhaustedError: OOM when allocating tensor with shape[73728,2304]
[[Node: truncated_normal_4/TruncatedNormal = TruncatedNormalT=DT_INT32, dtype=DT_FLOAT, seed=0, seed2=0, _device="/job:localhost/replica:0/task:0/gpu:0"]]
During handling of the above exception, another exception occurred:
ResourceExhaustedError                    Traceback (most recent call last)
 in ()
2 print("Training on the data")
3 with tf.Session() as sess:
----> 4     sess.run(tf.global_variables_initializer())
5
6     for epoch in range(epochs):
/home/carnd/anaconda3/envs/dl/lib/python3.5/site-packages/tensorflow/python/client/session.py in run(self, fetches, feed_dict, options, run_metadata)
765     try:
766       result = self._run(None, fetches, feed_dict, options_ptr,
--> 767                          run_metadata_ptr)
768       if run_metadata:
769         proto_data = tf_session.TF_GetBuffer(run_metadata_ptr)
/home/carnd/anaconda3/envs/dl/lib/python3.5/site-packages/tensorflow/python/client/session.py in _run(self, handle, fetches, feed_dict, options, run_metadata)
963     if final_fetches or final_targets:
964       results = self._do_run(handle, final_targets, final_fetches,
--> 965                              feed_dict_string, options, run_metadata)
966     else:
967       results = []
/home/carnd/anaconda3/envs/dl/lib/python3.5/site-packages/tensorflow/python/client/session.py in _do_run(self, handle, target_list, fetch_list, feed_dict, options, run_metadata)
1013     if handle is None:
1014       return self._do_call(_run_fn, self._session, feed_dict, fetch_list,
-> 1015                            target_list, options, run_metadata)
1016     else:
1017       return self._do_call(_prun_fn, self._session, handle, feed_dict,
/home/carnd/anaconda3/envs/dl/lib/python3.5/site-packages/tensorflow/python/client/session.py in _do_call(self, fn, *args)
1033         except KeyError:
1034           pass
-> 1035       raise type(e)(node_def, op, message)
1036
1037   def _extend_graph(self):
ResourceExhaustedError: OOM when allocating tensor with shape[73728,2304]
[[Node: truncated_normal_4/TruncatedNormal = TruncatedNormalT=DT_INT32, dtype=DT_FLOAT, seed=0, seed2=0, _device="/job:localhost/replica:0/task:0/gpu:0"]]
Caused by op 'truncated_normal_4/TruncatedNormal', defined at:
File "/home/carnd/anaconda3/envs/dl/lib/python3.5/runpy.py", line 184, in _run_module_as_main
"main", mod_spec)
File "/home/carnd/anaconda3/envs/dl/lib/python3.5/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/home/carnd/anaconda3/envs/dl/lib/python3.5/site-packages/ipykernel/main.py", line 3, in
app.launch_new_instance()
File "/home/carnd/anaconda3/envs/dl/lib/python3.5/site-packages/traitlets/config/application.py", line 658, in launch_instance
app.start()
File "/home/carnd/anaconda3/envs/dl/lib/python3.5/site-packages/ipykernel/kernelapp.py", line 474, in start
ioloop.IOLoop.instance().start()
File "/home/carnd/anaconda3/envs/dl/lib/python3.5/site-packages/zmq/eventloop/ioloop.py", line 177, in start
super(ZMQIOLoop, self).start()
File "/home/carnd/anaconda3/envs/dl/lib/python3.5/site-packages/tornado/ioloop.py", line 887, in start
handler_func(fd_obj, events)
File "/home/carnd/anaconda3/envs/dl/lib/python3.5/site-packages/tornado/stack_context.py", line 275, in null_wrapper
return fn(*args, **kwargs)
File "/home/carnd/anaconda3/envs/dl/lib/python3.5/site-packages/zmq/eventloop/zmqstream.py", line 440, in _handle_events
self._handle_recv()
File "/home/carnd/anaconda3/envs/dl/lib/python3.5/site-packages/zmq/eventloop/zmqstream.py", line 472, in _handle_recv
self._run_callback(callback, msg)
File "/home/carnd/anaconda3/envs/dl/lib/python3.5/site-packages/zmq/eventloop/zmqstream.py", line 414, in _run_callback
callback(*args, **kwargs)
File "/home/carnd/anaconda3/envs/dl/lib/python3.5/site-packages/tornado/stack_context.py", line 275, in null_wrapper
return fn(*args, **kwargs)
File "/home/carnd/anaconda3/envs/dl/lib/python3.5/site-packages/ipykernel/kernelbase.py", line 276, in dispatcher
return self.dispatch_shell(stream, msg)
File "/home/carnd/anaconda3/envs/dl/lib/python3.5/site-packages/ipykernel/kernelbase.py", line 228, in dispatch_shell
handler(stream, idents, msg)
File "/home/carnd/anaconda3/envs/dl/lib/python3.5/site-packages/ipykernel/kernelbase.py", line 390, in execute_request
user_expressions, allow_stdin)
File "/home/carnd/anaconda3/envs/dl/lib/python3.5/site-packages/ipykernel/ipkernel.py", line 196, in do_execute
res = shell.run_cell(code, store_history=store_history, silent=silent)
File "/home/carnd/anaconda3/envs/dl/lib/python3.5/site-packages/ipykernel/zmqshell.py", line 501, in run_cell
return super(ZMQInteractiveShell, self).run_cell(*args, **kwargs)
File "/home/carnd/anaconda3/envs/dl/lib/python3.5/site-packages/IPython/core/interactiveshell.py", line 2717, in run_cell
interactivity=interactivity, compiler=compiler, result=result)
File "/home/carnd/anaconda3/envs/dl/lib/python3.5/site-packages/IPython/core/interactiveshell.py", line 2821, in run_ast_nodes
if self.run_code(code, result):
File "/home/carnd/anaconda3/envs/dl/lib/python3.5/site-packages/IPython/core/interactiveshell.py", line 2881, in run_code
exec(code_obj, self.user_global_ns, self.user_ns)
File "", line 40, in
logits = conv_net(x, keep_prob)
File "", line 18, in conv_net
neural_net = fully_conn(neural_net, 2304)
File "", line 10, in fully_conn
weights_full = tf.Variable(tf.truncated_normal([dimension, num_outputs], stddev = 0.05))
File "/home/carnd/anaconda3/envs/dl/lib/python3.5/site-packages/tensorflow/python/ops/random_ops.py", line 174, in truncated_normal
seed2=seed2)
File "/home/carnd/anaconda3/envs/dl/lib/python3.5/site-packages/tensorflow/python/ops/gen_random_ops.py", line 293, in _truncated_normal
seed=seed, seed2=seed2, name=name)
File "/home/carnd/anaconda3/envs/dl/lib/python3.5/site-packages/tensorflow/python/framework/op_def_library.py", line 763, in apply_op
op_def=op_def)
File "/home/carnd/anaconda3/envs/dl/lib/python3.5/site-packages/tensorflow/python/framework/ops.py", line 2395, in create_op
original_op=self._default_original_op, op_def=op_def)
File "/home/carnd/anaconda3/envs/dl/lib/python3.5/site-packages/tensorflow/python/framework/ops.py", line 1264, in init
self._traceback = _extract_stack()
ResourceExhaustedError (see above for traceback): OOM when allocating tensor with shape[73728,2304]
[[Node: truncated_normal_4/TruncatedNormal = TruncatedNormalT=DT_INT32, dtype=DT_FLOAT, seed=0, seed2=0, _device="/job:localhost/replica:0/task:0/gpu:0"]]
I am using a g2.2x large aws instance to train my model on this dataset
https://www.kaggle.com/c/challenges-in-representation-learning-facial-expression-recognition-challenge
Thanks !

just checking: did you use list_devices before?
(See https://github.com/tensorflow/tensorflow/issues/8021)

No i don't think so

It might be another problem with initialization. Could you try to remove all preamble to see what makes it fail?

Ah yes!! I'll post a snippet of a part of the code that kept throwing the error as i changed it
So basically the errors kept popping up the minute i change the stride of my convolutional layer from (2,2)
to (1,1)
I'm also posting a snippet of my network
# The first three convolutional + maxpooling layers
neural_net = conv2d_maxpool(x, 32, (5,5), (1,1), (2,2), (1,1))
neural_net = conv2d_maxpool(neural_net, 64, (1,1), (2,2), (4,4), (2,2))
neural_net = conv2d_maxpool(neural_net, 64, (2,2), (1,1), (2,2), (1,1))
neural_net = conv2d_maxpool(neural_net, 128, (2,2), (1,1), (2,2), (1,1))

# Layer to flatten the tensor from the convolutional layers
neural_net = flatten(neural_net)

# Two fully connected layers with dropout
neural_net = fully_conn(neural_net, 2304)
neural_net = tf.nn.dropout(neural_net, keep_prob)
neural_net = fully_conn(neural_net, 1152)
neural_net = tf.nn.dropout(neural_net, keep_prob)
neural_net = fully_conn(neural_net, 576)

# Layer for output
neural_net = output(neural_net, 7)

Here i have defined  custom wrappers for each layer ..which you can find in my repo

So, to be clear, if you use (1, 1) instead of (2, 2) in the code above, then it works?

As far as I understood it, it works when he uses strides (2, 2), which makes more sense to me, as using strides of (1,1) doubles the memory necessary to store the activations compared to strides of 2.

@PhilJd The second process need less than 10% of the GPU to run. 10% of the GPU is 600MB.

I have just realized that the first process with the problem prints out I tensorflow/core/common_runtime/gpu/gpu_device.cc:975] Creating TensorFlow device (/gpu:0) -> (device: 0, name: GeForce GTX 1060, pci bus id: 0000:01:00.0) twice. Other processes only prints out once. Does this mean that double the amount of GPU I specified is allocated to this process?

@drpngx Using list_devices() prints out one extra I tensorflow/core/common_runtime/gpu/gpu_device.cc:975] Creating TensorFlow device (/gpu:0) -> (device: 0, name: GeForce GTX 1060, pci bus id: 0000:01:00.0)

@drpngx the network keeps throwing an error if i change the stride from (2,2) to (1,1)
so i'm unable to figure out a way to get my network to improve its accuracy because the (2,2) stride is causing the network to lose lots of information.

@vijpandaturtle you might be facing another problem. Could you open another issue?
@yujulucy that's very informative (printing out twice). If you had a python/c++ stack trace for each of the print outs, that would be useful.

Sure i'll do that

@yujulucy  I  tried before, and I found that if I run standalone training(not distribute training), the code you wrote:
gpu_options = tf.GPUOptions(per_process_gpu_memory_fraction=0.3)
sess = tf.Session(config=tf.ConfigProto(gpu_options=gpu_options, log_device_placement=False))
works, but if run distribute training, and it didn't work. i also want to know how to solve it.
focus on it.

@tbchj @yujulucy - when you write that this works in standalone training, but not with distributed training - can you post the example of how distributed training is set up?  Distributed training setup should also be able to take a 'config' parameter - you can try passing your config to that setup as well?

This issue is automatically closed due to lack of activity. Please re-open if this is still an issue for you. Thanks!

@cwhipkey the memory allocation happens right after you call tf.train.ClusterSpec before the distributed session starts.
@tbchj have you found a solution? This issue is bombing our containers :(

What does the tf.train.Server call look like?  Are you passing in the 'config' parameter?

Yes, I also tried putting config there, didn't work. Tried both config.gpu_options.per_process_gpu_memory_fraction = 0.2 and config.gpu_options.allow_growth=True
 68         config.gpu_options.per_process_gpu_memory_fraction = 0.2
 69         server = tf.train.Server(tf_cluster_spec,
 70                                  job_name=job_name,
 71                                  task_index=task_index,
 72                                  config=config)```

@cwhipkey  above

See this question
Set os.environ['TF_FORCE_GPU_ALLOW_GROWTH'] = 'true' in Python code.


ACL-Tester-Design-Documents does not yet contain comprehe

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: [e.g. Linux]
Vivado [e.g. 2019.1, 2020.1]

Additional context
Add any other context about the problem here.

The top-level documentation for the Serial Accelerometer Tester Version 1 does not yet contain comprehensive FSM diagrams.
It is expected that the initial design diagrams will be redrawn to match the quality and thoroughness of the code itself.

Comprehensive FSM diagrams have been re-authored and committed for Revision A of the diagrams document.


genericUpdater: fix ignoredVersions

Description of changes
ignoredVersions silently failed if GNU grep was not in PATH. I encountered this problem when running meta.updateScript for packages in my own flake.

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[X] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[X] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-ready-for-review/3032/4135


INTRA KOD TÄZELENIPDIR.BERÄÝINDÄ HAÝYŞ

Kmde ba intra kod

Psiphonam isleya

чт, 12 нояб. 2020 г., 19:14 Mirat<EMAIL_ADDRESS>
Kmde ba intra kod
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/Jigsaw-Code/Intra/issues/348#issuecomment-726103451,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AQZPKIAIAJTMUYQ5M6X26V3SPPUUFANCNFSM4TTKFBRQ
.

чт, 12 нояб. 2020 г., 19:16 mayajyk<EMAIL_ADDRESS>
Psiphonam isleya
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/Jigsaw-Code/Intra/issues/348#issuecomment-726104845,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AQZPKIBPLPIJIDTFPZ3HHWLSPPU43ANCNFSM4TTKFBRQ
.


Fixing 1412

When exclusive_Scan was performed in place on arraays, the initial value was written into the dest or output array before the sum was started, this corrupted the initial value of the input array and led to incorrect answers. This set of patches fixes the problem and also adds an extra test which computes the inclusive and exclusive scans using 'known' series which can be calculated independently and ensures the final answer is correct.

LGTM

indentation corrected. Merge when ready


Docs - Fragmented sponsor sentence fix

"Sponsor no GitHub" seems like a typo.
While changing, I updated the sentence to be less repetitive.
PS:
Since I know I didn't open an issue, feel free to ignore/close this PR. ❤
Looks like a great project. 🦾

Hi @NiallJoeMaher , thank you for the fix.
I liked what you wrote: Looks like a great project. 🦾
I wonder what would you tell when you see the new v2.0 coming in the next weeks. Stay tuned! :)


feat(ontology): Edit resource class info(DSP-1209)

resolves DSP-1209

This PR has to wait for DSP-1230: Missing method in DSP-JS to get ontology information with all languages

This PR has to wait for DSP-1230: Missing method in DSP-JS to get ontology information with all languages

This PR can be closed without merging. DSP-1209 was resolved in PR #380


Move the halloween icon to images

Also change the corresponding links

I call dibs on this issue 😄 Will fix it right away!

Just wanted to give some feedback after clearing the issue;
Because the instructions are inconsistent (readme says images go in ./img/, while file structure implies they should go in ./src/images/), different contributors are doing different things. This has lead to a messy code base and might be worth looking into.
Other than that, I want to say thanks to @sudz123 👏🙏😌
It's fun to get started with OSS contribution and I'm happy these kinds of repos exist!

 Not cool guys... I posted here saying I'd take care of it and I spent a fair amount of my own time doing so ☹

@adamxtokyo Apologies for this, please refer to my comments in #352 . This is bound to keep happening if you work on easy issues. I would suggest add your own personal page and add features to it. That way it would make both our lives easier.


fix: hide cluster select when there is only one cluster

fixes: #353

:tada: This PR is included in version 2.0.1 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


[1.20.1] JEIEvents.hideItems kubejs event doesn't hide items with NBT data in EMI

I have a JEIEvents.hideItems event in a kube script:
JEIEvents.hideItems(event => {
    for (const item of global.ItemsToRemove) {
        // Need to expand RegExps, since you cant use a RegExp to hide items
        global.Util.forEachItemRegExp(item, itemId => {
            console.log(itemId)
            event.hide(itemId)
        })
    }
})

The console.log(itemId) produces this:
[15:51:20] [INFO] jei_hide.js#6: create:unprocessed_obsidian_sheet
[15:51:20] [INFO] jei_hide.js#6: create:golden_sheet
[15:51:20] [INFO] jei_hide.js#6: create:sturdy_sheet
[15:51:20] [INFO] jei_hide.js#6: create:copper_sheet

The golden sheet, sturdy sheet, and copper sheet are all correctly hidden in EMI. However, the unprocessed obsidian sheet is still visible as seen here:

If I run with only JEI and not EMI, create:unprocessed_obsidian_sheet is correctly hidden. I suspect this is because create:unprocessed_obsidian_sheet has a damage NBT, whereas the three other sheets have no NBT data.

kubejs's JEI events interact with JEI's API and not all that information can be conveyed to EMI. You'll have to use the c:hidden_from_recipe_viewers tag supported by every recipe viewer, or use EMI's resource formats for hiding https://github.com/emilyploszaj/emi/wiki/Hiding-and-Adding-Index-Stacks


PTRACE_SEIZE not supported

Your Windows build number:  Microsoft Windows [Version 10.0.16299.309]

What you're doing and what's happening:

The PTRACE_SEIZE request to the ptrace syscall is not supported. Example program:
/* gcc -o ptrace-test ptrace.c */
#include <errno.h>
#include <stdio.h>
#include <stdlib.h>
#include <sys/ptrace.h>
#include <sys/types.h>
#include <unistd.h>

int main(int argc, char** argv) {
  pid_t pid = fork();
  if (pid == 0) {
    sleep(60);
    exit(0);
  }
  if (ptrace(PTRACE_SEIZE, pid, NULL, 0) == 0) {
    printf("ptrace succeeded\n");
  } else {
    perror("ptrace failed");
  }
  return 0;
}

Example output:
luser@DESKTOP-32V9ND8:/mnt/c/build$ gcc -o ptrace-test ptrace.c
luser@DESKTOP-32V9ND8:/mnt/c/build$ ./ptrace-test
ptrace failed: Invalid argument

What's wrong / what should be happening instead:
PTRACE_SEIZE should work similarly to PTRACE_ATTACH (which does work). Per the man page:

PTRACE_SEIZE (since Linux 3.4)
              Attach to the process specified in pid, making it a tracee of
              the calling process.  Unlike PTRACE_ATTACH, PTRACE_SEIZE does
              not stop the process.

This prevents rr from working, and I'm sure it impacts other programs as well.

Thanks for the excellent repro on PTRACE_SEIZE, since you weren't thanked earlier (we don't get enough of them). Better in WSL2.

Getting error while using frida python inside wsl 2:
➜  testbed ./fuzz.py
Traceback (most recent call last):
File "./fuzz.py", line 62, in
session = frida.attach(pid)
File "/home/raj/.local/lib/python3.8/site-packages/frida/init.py", line 62, in attach
return get_local_device().attach(target, **kwargs)
File "/home/raj/.local/lib/python3.8/site-packages/frida/core.py", line 26, in wrapper
return f(*args, **kwargs)
File "/home/raj/.local/lib/python3.8/site-packages/frida/core.py", line 156, in attach
return Session(self._impl.attach(self._pid_of(target)))
frida.NotSupportedError: unexpected error while attaching to process with pid 634 (PTRACE_SEIZE returned 'Invalid argument')


psql: FATAL:  role "superuser" does not exist

when I modify my code on data/src/api/data/*.sql and save, the zubZero devtools reports this error.
what about it ?
─Logs───────────────────────────────────────────────────────────┐
│./db/src/data/todo.sql changed                                  │
│Starting code reload ------------------------                   │
│psql: FATAL:  role "superuser" does not exist                   │
│                                                                │
│Ready ---------------------------------------                   │
│psql: FATAL:  role "superuser" does not exist

Before bringing the stack up, make sure you are not running postgresql on your host (port 5432)

On 17 Sep 2017, at 04:23, freemember007<EMAIL_ADDRESS>wrote:
when I modify my code on data/src/api/data/*.sql and save, the zubZero devtools reports this error.
what about it ?
─Logs───────────────────────────────────────────────────────────┐
│./db/src/data/todo.sql changed │
│Starting code reload ------------------------ │
│psql: FATAL: role "superuser" does not exist │
│ │
│Ready --------------------------------------- │
│psql: FATAL: role "superuser" does not exist
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

yes , I have another postgres running in 5432, so i modify docker postgresql's port to  5431:5432.

Devtools for now do not support another port, should be an easy fix but for now, that's the reason for the error

On 17 Sep 2017, at 18:08, freemember007<EMAIL_ADDRESS>wrote:
yes , I have another postgres running in 5432, so i modify docker postgresql's port to 5431:5432.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

this issue is tracked here https://github.com/subzerocloud/subzero-cli/issues/12


Some unwinding problems with the new vm cstack mode on AArch 64

Hi Andrei
Recently I was trying out the new stack unwinding implementation (--cstack vm) and found that there may be two problems here on AArch64.
reproducer
Linux iZbp1gsbpsgn4675kr8vfeZ 4.18.0-348.20.1.el7.aarch64 #1 SMP Wed Apr 13 20:57:50 UTC 2022 aarch64 aarch64 aarch64 GNU/Linux`

openjdk version "1.8.0_352"
OpenJDK Runtime Environment (build 1.8.0_352-b08)
OpenJDK 64-Bit Server VM (build 25.352-b08, mixed mode)

public class Test {
    public static void main(String[] args) {
        long time = System.currentTimeMillis();
        while (true) {
            long n = wrapper();
            if (n - time > 1000) {
                System.out.println("tick");
                time = n;
            }
        }
    }

    private static long wrapper() {
        return test();
    }

    private static long test() {
        return System.currentTimeMillis();
    }
}

java -Xcomp Test

asprof -e cpu -f /root/profile.html -d 5 --cstack vm jps

The first problem is that the call_stub and native methods below main are unknown.

After discussing  with D-D-H, he thought it might be because vm leaf call would reserve 2 words on the stack.
# {method} {0x0000ffffaf1f0348} 'main' '([Ljava/lang/String;)V' in 'Test'
...
  0x0000ffffb051727c: mov	x8, #0xdec0                	// #57024
                                                ;   {runtime_call}
  0x0000ffffb0517280: movk	x8, #0xbdb6, lsl #16
  0x0000ffffb0517284: movk	x8, #0xffff, lsl #32
  0x0000ffffb0517288: stp	xzr, x9, [sp, #-16]! // reserve 2 words   <----
  0x0000ffffb051728c: blr	x8
  0x0000ffffb0517290: add	sp, sp, #0x10   ;*invokestatic currentTimeMillis
                                                ; - Test::test@0 (line 18)
                                                ; - Test::wrapper@0 (line 14)
                                                ; - Test::main@4 (line 5)

I slightly modified stackWalker.cpp.
When calculating the caller sp of nmethod frame, check if there is an instruction likes stp xzr, x9, [sp, #-16]! near the pc,
and if so then deal with the sp accordingly. After verification, the problem can indeed be solved.

However, in the picture above, there is still a small probability of stack unwinding errors (left most, details in the picture below).
This leads to the second problem.

I found that the cfa_off of gettimeofday@plt is 0, it will enter the branch AArch64 default_frame, resulting in sp calculation error.
When executing gettimeofday@plt, since sp and fp will not be modified, they are actually the same as the fp and sp of os::javaTimeMillis.
I modified the code slightly, calculate sp like os::javaTimeMillis, and found that the problem could be solved.

After solving the above two problems, the correct result is as follows

I don't know if you can confirm it ?
If it is indeed a problem, I wonder if you would like me to fix it. It might take me some time and there is a lot of background knowledge to understand.

Thank you for the report and the analysis.
I can confirm the issue. It's not related to cstack=vm - the same problem affects other stack walking modes too, including the stack walker in the JVM itself: both AsyncGetCallTrace and JFR fail to reconstruct stack traces ending with os::javaTimeMillis() calls.
MacroAssembler::call_VM_leaf_base saves two registers on a stack before the call,
thus breaking the invariant that sender_sp == current_sp + frame_size.
Furthermore, leaf VM calls do not save last_Java_sp and last_Java_fp in a thread, making it hard to recover the "right" stack pointer of a Java frame that calls into VM runtime. So the best async-profiler can do is to apply some heuristics like peeking into the instruction stream as you suggested.
I'll take a closer look when I have time.

I've pushed the fix for both issues. Thanks again for the thorough analysis.

For the reference, I submitted the JVM bug JDK-8323755.


[Release Radar Request] Systeroid v0.1.1

Open Source Project name
systeroid
What is your project?
systeroid is "sysctl(8) on steroids". Similar to sysctl, it is implemented using procfs and the primary goal is to manage the kernel parameters. It has a bunch of features to ease the process of reading and modifying the values and even retrieving information about them from the Linux kernel documentation. It also has a text-based user interface to visualize the state of the kernel parameters and interactively perform these management operations.

Version
0.1.1
Date
April 19, 2022
Description of breaking changes
nil
GitHub Repo
https://github.com/orhun/systeroid
Website
https://systeroid.cli.rs
Link to changelog
https://github.com/orhun/systeroid/blob/main/CHANGELOG.md
Social media
https://twitter.com/orhunp_/status/1515254550487257088
Anything else to add?
Blog post: https://blog.orhun.dev/rewriting-sysctl-in-rust/

Thanks for submitting, we loved your project. The Release Radar features major version releases. Please submit again when you have version 1.0 and we'd love to consider your project for feature 😄


Swift macro indexing

Description
Target builds and runs all great, which is really cool. I saw an indexing issue when exploring rules_swift examples:

I see that the indexing invocations -I dirs don't have StringifyMacroPlugin.swiftmodule. When I modify the project by explicitly adding an -I pointing to a directory that hasStringifyMacroPlugin.swiftmodule, indexing is all green.
Reproduction steps

rules-swift 1.11 release.
Generate a rules_xcodeproj that has top-level targets: "stringify_macro", "stringify_client", "stringify_macro_test"
In the generated BwB project, go to StringifyMacroTests.swift.
Build the project.
Project builds all great leaving an indexing issue to be fixed.

Expected behavior
Indexing ✅
rules_xcodeproj version
858c3967d4e2c7f8997e585769639da9ce4742f4
Xcode version
Xcode 15 Beta 8 (15A5229m)
Bazel version
6.2.0
rules_apple version
No response
rules_swift version
1.11
Additional information
No response

I'll look at this Monday.


November 30th, Community Meeting Agenda

Dapr Community Meetings
Every two weeks we host a community meeting to showcase new features, review upcoming milestones, and engage in Q&A with the Dapr community - all are welcome, and we encourage participation.
The purpose of this thread is to form a discussion amongst the Dapr community on potential topics to highlight during the meeting. If you have a topic you wish to present or learn more about, please comment and be sure to include your name and a short description of the topic.
The conversations in this thread will directly influence the meeting agenda for the community call on Wednesday November 30th, at 9am PST. The meeting agenda is finalized by a Community Call Host prior to the meeting.
Thank you and we look forward to hearing your input.

@alabulei1 Talked to Michael Yuan and it sounds like this date works better to present.
Would you be able to confirm that Nov. 30th still works for the presentation on the Dapr SDK for WebAssembly?

Hi @nyemade-uversky  Yes, the talk still is the Dapr SDK for WebAssembly. Thanks.

If time permits, I would like 5-10 minutes time to show the new Resiliency QuickStarts

Resolved


select not changeable with v-validate

Versions:

VueJs: 2.1.4
Vee-Validate: 2.0.0-beta.17

Description:
I cannot change a select's value after attaching v-validate.
Try removing the directive to verify that it works without it.
Steps To Reproduce:

Go here: http://jsfiddle.net/gambo/xcha53ub/
Try selecting another option

To clarify this is for the arrow keys. Thanks!

No this is for mouse also!

What browser? Working fine for me for the mouse in Chrome v.  53.0.2785.143

Chrome 54.0.2840.98 on macOS sierra

Thanks!

It has just updated to 55.0.2883.75 when I had a look. Thx to you guys too!

never noticed it before, but I can confirm on  54.0.2840.98 macos.

Very flaky  handling at this stage, related: https://github.com/logaretm/vee-validate/issues/113
Android/Firefox have different problems, Chrome has different ones...

I think I fixed it at least for chrome, should be in the latest build in the repo files, can someone confirm?

I have a MacOs Sierra and Google Chrome Versión 55.0.2883.95 (64-bit), but not working with latest build, I use npm and webpack compiler.

@luis199230 by latest do you mean beta.17 or the files in the dist directory?

yes I use beta.17

I test and see the fix, in this fiddle, show how to use properly. https://jsfiddle.net/92Lmjs6m/13/ v-validate = "" is necessary same v-model = "" if not, don't working.

I'm experience the same issue using the file in the repo.
To solve it for the time being, I'm using v-validate.initial="".

I've tagged a new release feel free to test it and confirm whether if this issue was resolved, if another issue appears feel free to create a new one describing it.

I've updated the fiddle and it seems to be working fine, closing this for now.
http://jsfiddle.net/xcha53ub/6/

cool thx, I'll give it a try!

I'm using the latest release and this is still an issue

Well that is weird, I tried the same fiddle again with beta.18 and it seems to be working fine on Chrome for Windows Version 55.0.2883.87 m (64-bit)
http://jsfiddle.net/xcha53ub/7/

The beta 18 release fixed this issue for me.

Have this problem on all browsers except Firefox on macOS 10.13.6 (safari 11.1.2, opera 54, Chromium 64.0.3260.0) How to fix this?

@hellvesper provide a code sample and I will take a look.


Cannot register 2 metrics with the same name: /tensorflow/api/keras/optimizers

Please make sure that this is a build/installation issue. As per our GitHub Policy, we only address code/doc bugs, performance issues, feature requests and build/installation issues on GitHub. tag:build_template
System information

OS Platform and Distribution (e.g., Linux Ubuntu 16.04):
Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device:
TensorFlow installed from (source or binary): Docker image
TensorFlow version: 2.6.1
Keras version: Getting the above error when import
Python version: Python 3.6
Installed using virtualenv? pip? conda?: pip (Docker image)
Bazel version (if compiling from source):
GCC/Compiler version (if compiling from source):
CUDA/cuDNN version: 11.4
GPU model and memory: Nvidia A100 40GB

Describe the problem
Looks like this issue , https://github.com/keras-team/keras/issues/15579
Is it the right one ? because after applying the fix mentioned in above link "pip install tensorflow==2.6.2" , getting below error
root@6a893d98bbb1:/app/project# python3 download_process.py --help
WARNING:tensorflow:From /usr/local/lib/python3.6/dist-packages/tensorflow/python/compat/v2_compat.py:101: disable_resource_variables (from tensorflow.python.ops.variable_scope) is deprecated and will be removed in a future version.
Instructions for updating:
non-resource variables are not supported in the long term
Traceback (most recent call last):
  File "download_process.py", line 13, in <module>
    from utils import *
  File "/app/project/utils.py", line 4, in <module>
    from object_detection.inputs import train_input
  File "/usr/local/lib/python3.6/dist-packages/object_detection/inputs.py", line 26, in <module>
    from object_detection.builders import model_builder
  File "/usr/local/lib/python3.6/dist-packages/object_detection/builders/model_builder.py", line 29, in <module>
    from object_detection.builders import matcher_builder
  File "/usr/local/lib/python3.6/dist-packages/object_detection/builders/matcher_builder.py", line 23, in <module>
    from object_detection.matchers import bipartite_matcher  # pylint: disable=g-import-not-at-top
  File "/usr/local/lib/python3.6/dist-packages/object_detection/matchers/bipartite_matcher.py", line 20, in <module>
    from tensorflow.contrib.image.python.ops import image_ops
ModuleNotFoundError: No module named 'tensorflow.contrib'

Provide the exact sequence of commands / steps that you executed before running into the problem

Build Image by running below dockerfile

FROM tensorflow/tensorflow:2.3.0-gpu

RUN apt-get update --fix-missing && apt-get install -y \
    ffmpeg \
    git \
    git-core \
    g++ \
    pkg-config \
    python3-pip \
    unzip \
    vim \
    wget \
    zip \
    zlib1g-dev

WORKDIR /app

COPY requirements.txt .
RUN pip3 install -r requirements.txt
RUN pip3 install git+https://github.com/philferriere/cocoapi.git#subdirectory=PythonAPI

ENV TF_CPP_MIN_LOG_LEVEL=2

RUN wget https://github.com/protocolbuffers/protobuf/releases/download/v3.13.0/protoc-3.13.0-linux-x86_64.zip && \
    unzip protoc-3.13.0-linux-x86_64.zip -d /app/protobuf/

ENV PATH "$PATH:/app/protobuf/bin"

RUN git clone https://github.com/tensorflow/models.git && \
    cd /app/models/research/ && \
    protoc object_detection/protos/*.proto --python_out=. && \
    cp object_detection/packages/tf2/setup.py . &&\
    python -m pip install .

Spawned container and inside it trying to run a pre-processing script. Below are packages used in it

import argparse
import io
import os
import subprocess

import ray
import tensorflow.compat.v1 as tf
tf.disable_v2_behavior()
#import tensorflow as tf
from PIL import Image
from psutil import cpu_count
tf.disable_v2_behavior()
from utils import *
from object_detection.utils import dataset_util, label_map_util

Error Log Output

2021-11-04 10:25:18.325660: E tensorflow/core/lib/monitoring/collection_registry.cc:77] Cannot register 2 metrics with the same name: /tensorflow/api/keras/optimizers
Traceback (most recent call last):
  File "download_process.py", line 13, in <module>
    from utils import *
  File "/app/project/utils.py", line 4, in <module>
    from object_detection.inputs import train_input
  File "/usr/local/lib/python3.6/dist-packages/object_detection/inputs.py", line 26, in <module>
    from object_detection.builders import model_builder
  File "/usr/local/lib/python3.6/dist-packages/object_detection/builders/model_builder.py", line 25, in <module>
    from object_detection.builders import box_predictor_builder
  File "/usr/local/lib/python3.6/dist-packages/object_detection/builders/box_predictor_builder.py", line 20, in <module>
    from object_detection.predictors import convolutional_box_predictor
  File "/usr/local/lib/python3.6/dist-packages/object_detection/predictors/convolutional_box_predictor.py", line 26, in <module>
    from object_detection.core import box_predictor
  File "/usr/local/lib/python3.6/dist-packages/object_detection/core/box_predictor.py", line 137, in <module>
    class KerasBoxPredictor(tf.keras.layers.Layer):
  File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/util/lazy_loader.py", line 62, in __getattr__
    module = self._load()
  File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/util/lazy_loader.py", line 45, in _load
    module = importlib.import_module(self.__name__)
  File "/usr/lib/python3.6/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "/usr/local/lib/python3.6/dist-packages/keras/__init__.py", line 25, in <module>
    from keras import models
  File "/usr/local/lib/python3.6/dist-packages/keras/models.py", line 20, in <module>
    from keras import metrics as metrics_module
  File "/usr/local/lib/python3.6/dist-packages/keras/metrics.py", line 26, in <module>
    from keras import activations
  File "/usr/local/lib/python3.6/dist-packages/keras/activations.py", line 20, in <module>
    from keras.layers import advanced_activations
  File "/usr/local/lib/python3.6/dist-packages/keras/layers/__init__.py", line 23, in <module>
    from keras.engine.input_layer import Input
  File "/usr/local/lib/python3.6/dist-packages/keras/engine/input_layer.py", line 21, in <module>
    from keras.engine import base_layer
  File "/usr/local/lib/python3.6/dist-packages/keras/engine/base_layer.py", line 43, in <module>
    from keras.mixed_precision import loss_scale_optimizer
  File "/usr/local/lib/python3.6/dist-packages/keras/mixed_precision/loss_scale_optimizer.py", line 18, in <module>
    from keras import optimizers
  File "/usr/local/lib/python3.6/dist-packages/keras/optimizers.py", line 26, in <module>
    from keras.optimizer_v2 import adadelta as adadelta_v2
  File "/usr/local/lib/python3.6/dist-packages/keras/optimizer_v2/adadelta.py", line 22, in <module>
    from keras.optimizer_v2 import optimizer_v2
  File "/usr/local/lib/python3.6/dist-packages/keras/optimizer_v2/optimizer_v2.py", line 37, in <module>
    "/tensorflow/api/keras/optimizers", "keras optimizer usage", "method")
  File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/eager/monitoring.py", line 361, in __init__
    len(labels), name, description, *labels)
  File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/eager/monitoring.py", line 135, in __init__
    self._metric = self._metric_methods[self._label_length].create(*args)
tensorflow.python.framework.errors_impl.AlreadyExistsError: Another metric with the same name already exists.

Any other info / logs
Include any logs or source code that would be helpful to diagnose the problem. If including tracebacks, please include the full traceback. Large logs and files should be attached.

GREETINGS IT SPECIALIST! SUYUN CDN IS HIRING NOW!
Company name: SuyunCDN
Title of position: Python Developer
Position type: Full Time, Part Time, or Contractual
Pay range: $800 - $2000
Location: Remote
Preferred Qualifications:
●	Graduated in any IT related course
●	Proficient in English and Mandarin Language
●	Proficient in Python Coding
Description of responsibilities:
●	Writing and testing code, debugging programs and integrating applications with third-party web services
●	Develop back-end components to improve responsiveness and overall performance
●	Integrate user-facing elements into applications
●	Test and debug programs
●	Improve functionality of existing systems
●	Implement security and data protection solutions
●	Assess and prioritize feature requests
●	Coordinate with internal teams to understand user requirements and provide technical solutions
Required experience:
●	Work experience as a Python Developer
Required skills:
●	Proficient with Django Python framework
●	Proficient with DevOps and Ansible
●	Extensive Knowledge on object-relational mapping (ORM)
●	Problem Solving Skill- Advance
●	Communication Skill - Advance
●	Highly Resourceful
●	Team-oriented personality
For information on SuyunCDN, including more information on our staff and our company culture, you may check our website at https://www.suyuncdn.com.
If interested, email your resume to<EMAIL_ADDRESS>with the subject line of the job, you're applying for.
Check out our FB page for more info on available jobs we have
Suyuncdn

This should be fixed by TF 2.6.2 or TF 2.7.0


drag element cropped if originally out of view

If an item is out of view overflow-y: auto; before dragging, all of the element that is out of sight gets cropped out.

appears to be happening in chrome but not firefox (mac)  so possibly a bug with chrome html5 drag element rendering

Interesting, but as you said this is entirely browser behaviour, nothing we can do about it.


update raid-data-tracker to include toa and tob hm uniques

lots of changes with this, the way the files are written to, and folders changed if the user changes thier name.

its ready to go, ,just testing for any small changes before its finished review.

Please remove CoX Insider from the authors tag in this PR, the tag is only for GitHub usernames. You can place display names in runelite-plugin.properties but I see you already have.
Actual diff link, for my own sake as I review it: https://github.com/CasvM/runelite-external-plugins/compare/28c1a040e04928ac0e7a82d352894a2a611793c6...raid-tracker

@LlemonDuck  Done, also took this time to add in gp/hr tracking.

authors should contain your GitHub name, as you're the non-owner author. We can already infer that CasvM has access, he owns the repo. Use authors=Leigham

Alrighty, ill sort that while I get this arithmatic issue done.

Done , holy shit, vscode would run the gradle stuff before I had a chance to commit.

There's a lot of things that need changes here but mostly this is just extremely difficult to read.
Migration failed on my user profile.

Move this out of onVarbitChanged https://github.com/CasvM/runelite-external-plugins/compare/28c1a040e04928ac0e7a82d352894a2a611793c6...raid-tracker#diff-321833cb2db743f83003c80d235683d6cdf0c364aac38158392dfa0e75352a3cR161
Use Files#move instead of File#renameTo in IOUtils https://github.com/CasvM/runelite-external-plugins/compare/28c1a040e04928ac0e7a82d352894a2a611793c6...raid-tracker#diff-2d3c61eb8670f2a62dea0632fd282afe35fbc75d6a8b42badd3bdb9f478442b5R54 and https://github.com/CasvM/runelite-external-plugins/compare/28c1a040e04928ac0e7a82d352894a2a611793c6...raid-tracker#diff-2d3c61eb8670f2a62dea0632fd282afe35fbc75d6a8b42badd3bdb9f478442b5R92
Use Paths#get's vararg syntax instead of manually formatting strings e.g. Paths.get(RUNELITE_DIR, PLUGIN_DIR, somePath)
The existing plugin data folder is ~/.runelite/raid-data tracker, which matches FileReadWriter#getPath, but you use ~/.runelite/raid-data-tracker everywhere else. Which is it?
You are not verifying that the paths returned by IOUtils#generatePath are valid, which caused a FileNotFoundException on my machine from the parent dir not existing https://github.com/CasvM/runelite-external-plugins/compare/28c1a040e04928ac0e7a82d352894a2a611793c6...raid-tracker#diff-d2d5be49a1687efc4de05de33bd7e98ee2252a7fc0ed1c42a4a3b6f45a4b7334R150
Also you are swallowing the exception in updateRTList so if anything goes wrong writing out user data it is just simply lost, whether the error would be transient or not https://github.com/CasvM/runelite-external-plugins/compare/28c1a040e04928ac0e7a82d352894a2a611793c6...raid-tracker#diff-d2d5be49a1687efc4de05de33bd7e98ee2252a7fc0ed1c42a4a3b6f45a4b7334R159
There's a lot of spelling errors all over the place but the ones in the RaidUniques enum matter since you use them in your serialization, effectively locking you into these spellings forever else requiring yet another data migration. The proper spellings are in the ItemIDs within the same line, and you can confirm correct capitalization/apostrophe placement on the wiki https://github.com/CasvM/runelite-external-plugins/compare/28c1a040e04928ac0e7a82d352894a2a611793c6...raid-tracker#diff-a9c7e00a2beda34ff0a5c4c992e4e8e58ab7de547e18acaebaf33bf603983fd3R34

Also it's Amascut not Amascot

You should prune unused methods/fields/constants, empty blocks, etc to make this easier to read, and if you're going to add a checkstyle config it would be nice to actually use it:

Hi @Leigham, has any progress been made in the past month toward fixing the issues Llemonduck highlighted?

I have made a start, but everything got busy leading upto christmas. Will be starting to work on it again soon.

Considering it's been several months, I'm going to close this. You can reopen it when you get back to it.


Minor changes on PTBR language

In my understanding all the changes here are improvements that increase overall clarity.

Thanks for this update!


Opening a 2nd time doesn't work on iPhone Browsers

Sidr refuses to open the side panel when it was opened and closed once before (no reloads of the page, if you reload it works again but just once). That's though an issue as people tend to check the side navigation and may decide later to open it again from the same page. Interestingly it doesn't work just on iOS, tested under iPhone4 and 5 with Chrome and Safari.
I'm using an :hover image (different coloer) which shows, that shows that the toggle is still "open" after closing. When tested on Firefox Desktop with iPhone 3.0 User Agent, it works without a problem. Also on Samsung Galaxy under Android.
Anyone else experiencing the same?

Can't reproduce the error now so I'm closing it

@artberri I got the same error on iOS 10.3
jquery 1.11.1
sidr 2.2.1

Still not able to reproduce it.
Stackoverflow is a better place for doubts and implementation issues (don't forget to provide your failing code).


[Android] Hindi translation. Added missing strings.

please check if this branch has any issues, let me know if it's ok to merge.
(I think we should have a travis build to have this stuff automatically checked)

"ñangara ñangara ñangara"
(gracias en indio)


Invoice Logo URL && Account Type Credit Card

Invoice logo throws a 404 because the logos are inside storage folder so this would fix it:
Storage::url($logo)
Also when trying to add account type credit card I get error undefined key enabled in $data array. Not sure why that happens.

Okay thanks! Will fix it soon and follow up when I provide a new update.

Hi @soixt,
Thanks for reporting this issue with the invoice logo. I want to make sure I fully understand the problem you're experiencing, so I'd appreciate a bit more detail:
Environment Details:
Could you let me know the environment where the 404 error for the logo occurs (like local development, staging, or production)? This will help determine if the issue is environment-specific.
Steps to Reproduce:
It would be really helpful if you could provide the specific steps you followed when you encountered this issue. A step-by-step guide would be ideal for me to try and reproduce the error on my end.
Additional Information:
Any screenshots or logs of the 404 error would be very useful.
Are you seeing this issue consistently, or does it vary by browser or after clearing the cache?
To give you some context, in my setup, I'm using the Filament FileUpload component with the public disk, and the logo is displayed in the invoice preview using URL::asset($logo). So far, this has been working fine for me.
I'm here to help and want to ensure everything works smoothly. Your further input will be crucial for identifying and fixing this issue.

Closing due to inactivity. Also, there seems to be no issue here for others.


[BugFix] Fix metrics of meta_log_count wrong bug on share-data mode

Why I'm doing:
The metric of meta_log_count is the count of logs for which checkpoint has not been completed and is the result of max_journal_id - image_journal_id. But in shared data mode, there is another image in staros, which causes image_journal_id to be set to the value of the staros image journal id when executing staros checkpoint.
What I'm doing:
Only update the image_journal_id when doing local metastore checkpoint.
Fixes #issue
What type of PR is this:

[x] BugFix
[ ] Feature
[ ] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Does this PR entail a change in behavior?

[ ] Yes, this PR will result in a change in behavior.
[x] No, this PR will not result in a change in behavior.

If yes, please specify the type of change:

[ ] Interface/UI changes: syntax, type conversion, expression evaluation, display information
[ ] Parameter changes: default values, similar parameters but with different default values
[ ] Policy changes: use new policy to replace old one, functionality automatically enabled
[ ] Feature removed
[ ] Miscellaneous: upgrade & downgrade compatibility, etc.

Checklist:

[ ] I have added test cases for my bug fix or my new feature
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

[ ] This is a backport pr

Bugfix cherry-pick branch check:

[x] I have checked the version labels which the pr will be auto-backported to the target branch

[x] 3.2
[x] 3.1
[ ] 3.0
[ ] 2.5

@mergifyio backport branch-3.3